I'm currently trying to implement the handling of (2-finger-)pinches on an iPad display. Doing so I came across the problem that the fingers (represented by by two grey circles in the iPhone-simulator) won't show up in the simulator for iPad. Even though it is still possible to simulate pinches it's sometimes very hard to do so without seeing the fingers and it's even impossible to drag the fingers to a location of where the pinches should happen.
Is there a secret setting etc. to enable those grey circles?
The simulator does a really lousy job of indicating app performance. In fact it doesn't try. For most things the simulator is much, much faster than an iOS device. It runs your code on an x86 processor, which is much faster than the ARM and has many times more memory.
How to simulate location in Simulator. To simulate location on a Simulator, select Features menu > Location, then you will see a list of location and movement options you can simulate.
Install Apps on SimulatorsTo install an app on a connected simulator, follow these steps. Go to Apps > Install Application. Find and open the app you want to install from your Mac. The app appears in the list of installed apps on the right side of the iOS Gateway window.
You should be able to see them if you hold down the Option key while clicking the mouse in the area you wish to "pinch". Also if you press press Shift-Option it will lock the two "fingers" positions relative to each other.
Place the pointer where you want the pinch to occur.
Hold down the Option key.
Move the circles that represent finger touches to the start position.
Move the center of the pinch target by holding down the Shift key, moving the circles to the desired center position, and releasing the Shift key.
Hold down the mouse button, move the circles to the end position, and release the Option key.
via Apple Documentation
To get the grey circles to work in iOS Simulator 5.1 for iPad, you have to set the scale to 75% (Cmd-2) or 50% (Cmd-3). Why? I don't know. Seems like a bug.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With