I'm accidentally turning slow animations about 50 times a day (I think it may because I'm using a virtual keyboard via Synergy) ... How can I disable slow animations in the simulator FOREVER?
EDIT: Beginning with Xcode 5.0.1 with the iOS 7.0.3 simulator, cmd+T is now declared as the keyboard shortcut for Toggling Slow Animations and eliminates the observed informal shortcuts listed my my original answer.
This is something that I too encounter all...the...time, but I finally figured out what I was doing to cause it to be enabled in my simulator.
It turns out that iOS Simulator has a few shortcut key for enabling/disabling slow animations that are easily triggered when navigating through simulator (like gaining access to the multitasking bar) or when using system shortcuts for screen shots. I've run across two undocumented keyboard shortcuts:
Double-press of CMD+Shift (easy to inadvertently do when gaining access to the multitasking bar)
Alternate: Shift + Double-press of CMD
Triple-press of Shift
Regardless of the method, if you have a debugger session running in Xcode, you can easily see the console message logging when these shortcuts have activated/deactivated slow-motion mode.
Unfortunately, there does not appear to be a way to disable these 'features' of iOS Simulator. All I've been able to do so far is alter my workflow slightly to avoid key combinations that could trigger slow motion animation, but now have a quicker way to undo the behavior.
Just double-press of Shift works for me in the emulator
For the newer simulators just press CMD + T to check/uncheck slow animations.
Related
I have an app that just counting steps in Active State and Background Mode with CoreMotion CMPedometer.
It works fine on ios 12.4.1
ios 13: steps counting doesn't work in Background Mode, but work in Active State.
I haven't any errors and in Active State I get "steps, that I went in background".
I have permission NSLocationWhenInUseUsageDescription
In fact, I do not receive a notification (print in console) that I am moving.
Please help.
I have looked into this a little bit and it turns out that the background processing logic has been updated on iOS 13. I see that my steps tracking (CMPedometer) task gets almost immediately killed when the app goes into the background.
You are most likely using application(_:performFetchWithCompletionHandler:) to track user steps and motion in the background. This is now deprecated on iOS 13 SDK and you will need to use BGAppRefreshTask to achieve the same functionality.
More details are in the Apple Documentation here.
Currently I am writing iOS tests using Python Appium and would like to completely hide the software keyboard which pops up whenever you have to type something. I am already aware of driver.hide_keyboard() function but it's a pain to include it everywhere in tests.
I was going over the Appium Desired Capabilites but couldn't find anything that will disable the software keyboard. Appreciate if anyone can help me here?
To disable soft keyboard in iOS simulator do this:
Simulator Menu > Hardware > Keyboard > Connect Hardware Keyboard (enable it)
Even if you quit and reopen the simulator, the selection will stay. I'm not sure what happens when you factory reset the simulator.
screenshots attached.
I only use the iOS simulator for testing websites, not actual apps. Today I opened it up and it keeps asking me for an app for it to simulate. If I click cancel, it just quits the simulator.
I've tried deleting preference files, but I'm just not familiar enough with the simulator to know what's going on. How can I just get this back to normal, or satisfy this dialog?
I think you could try the menu
iOS Simulator -> Reset Content and Settings...
This would clean your simulator storage.
Update
According to this link, Cleaning up the iPhone simulator
move to path
/Users/<username>/Library/Application Support/iPhone Simulator/{6.0 / 6.1}
You could try to clean it manually
I have used ASIHTTPRequest a thousand times. This times is no different or special, but...
when I start a request in the simulator (iOS 5.0) all is fine, when I start one on the iPad connected during development all is fine, but when I burn an AdHoc build and load it onto the iPad, this one particular ASIHTTPRequest starts, but never completes or fails. Well, I presume it is starting. Any ideas?
BTW, the same app uses ASIHTTPRequest is several other places, and all work fine.
Apparently there is a bug on ASIHTTPRequest. If you turn off optimization for ASIFormDataRequest.m ASIHTTPRequest.m everything seems to work.
You turn of optimization by selecting the target project, select the file in "Compile sources" section of the "Build Phases" tab; and add -O0 (capitol O zero).
Everything is explained here
I've searched Google for about 1,5h now and i can't find a good answer.
Is it possible to display the Soft Keyboard when debugging using ADL?
If i use the existing properties I still don't see it.
I want to check if my layout looks well when the Soft Keyboard appears, but for some reason I don't see it coming in ADL (Adobe Debug Launcher).
I don't have a tablet to test it on for now so that isn't a solution.
Am i doing something wrong whereby I don't see the soft keyboard or doesn't it exist in ADL?
ADL is just the Flex debugger program. When I use ADL to launch my app on an Android device; there are no issues getting the soft keyboard to show up. When I use ADL to launch an app in an emulator, I have never seen the soft keyboard come up. This is not supported with the emulator included with Flex / Flash Builder.
In my experience the availability of the soft keyboard depends on the context you're running the app in (Debugger vs Device) and has nothing to do w/ ADL.
Does that answer your question?