How to pinch out in iOS simulator when map view is only a portion of the screen?
Solution 1
You can move the two gray circles that represent your fingers around the screen by holding Option and Shift and moving the mouse.
Solution 2
Try double tapping with the option key pressed. On the iPhone this causes the MKMapView
to zoom out.
Solution 3
Only pressing the alt key made the two gray dots representing your fingers appear for me...
Solution 4
Updated Solution:
Holding Option and Command gives you 2 finger vectors that spread out and in. Holding the mouse button down on the way in will pinch in and visa versa for spreading out.
Solution 5
You can use Option (Alt) button or combination of Option button and command button along with mouse movement to zoom in and zoom out a map or an image.
Christopher
Developing software for over 20 years on a variety of platforms and languages. Focusing on iOS development at present. Learning full stack development.
Updated on November 14, 2021Comments
-
Christopher over 2 years
I have a view on the iPad that I'm adding an
MKMapView
to that is say half the height of the full screen. However, when I try to pinch out on the iOS Simulator it doesn't work since the to nubs fill the entire iPad view on the simulator.And so, with the map view half the screen and I press the Option key on the keyboard I cannot grab the map to pinch out.
Anyone know how to handle this?
-
Christopher almost 12 yearsThat's it! Thank you! It took some practice to get it just right using two fingers from each hand but I have it working like a charm now.
-
Christopher almost 12 yearsThis did not work in my situation as one of the gray circles hovered over a table view on the bottom left causing the rows to be selected.
-
dandan78 almost 12 yearsGlad I could help, especially since it took me ages to discover this feature myself.
-
Gregory Cosmo Haun over 10 yearsOption + Shift is also required for the gesture that changes the map tilt angle and triggers 3D mapviews.
-
DevC over 10 yearsit only required one click for me
-
Erin Geyer almost 9 yearsIn more recent versions of the iOS Simulator only the OPTION key needs to be held.
-
vinesh almost 9 yearsI needed to update my preferences in accesibility to access this feature.
-
jkyadav about 7 yearsIn windows compatible keyboard use Windows + ALT key and moving the mouse.
-
Nouman Tahir almost 7 yearsThis method has a reference point set in the middle of screen, is it possible to define a custom reference point..?
-
Waltari over 6 yearsFor me just pressing alt key is enough.
-
Christopher over 6 yearsThis method is not working for me. I get the gray dot but pinch in/out with my track pad has no effect. Tested iOS 9.3 iPhone 6s.
-
l-l over 6 yearsThe pinch from your track pad won't work, you need to click and drag with the mouse.Think of the gray dot as one finger and the mouse as another.
-
twiz over 4 years@NoumanTahir You can, but it is very unintuitive. First you press and release OPTION + SHIFT which will make the gray circles stay on the screen without holding OPTION. Then hold down SHIFT to make the reference point follow the cursor.