How to pinch out in iOS simulator when map view is only a portion of the screen?

IosMkmapviewSimulatorPinchzoom

Ios Problem Overview


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?

Ios Solutions


Solution 1 - Ios

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 - Ios

Try double tapping with the option key pressed. On the iPhone this causes the MKMapView to zoom out.

Solution 3 - Ios

Only pressing the alt key made the two gray dots representing your fingers appear for me...

Solution 4 - Ios

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.

Solution 5 - Ios

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 6 - Ios

Double click, hold, drag finger.

Solution 7 - Ios

2019-20 UPDATE

To zoom in

alt/option + pinch in using mouse

> Alternate option: control + click (This will place a gray circle on the map, now you can click and drag your mouse to zoom in and out. > If you want to disable it, just click on the circle again)

To zoom out

alt/option + pinch out using mouse

To get flat view of the map

Zoom to an area in map then Shift + alt/option + click and drag mouse

Solution 8 - Ios

There is another way to do this:

1- While holding the control key click with the mouse on where you would like to center the pinch gesture. This will cause one gray dot to remain on the screen. (Once its there, you can let go of the control key)

2- Now you can use the mouse to click and drag around the gray dot you specified in step 1

Once you are done you can remove the gray dot by tapping on it

Solution 9 - Ios

For Zooming in double tap using mouse. For Zooming out press and hold on option/alt key this will give you 2 grey circles which represents your 2 fingers and drag your mouse up. To Zoom in drag your mouse down with option key pressed(or double tap on mouse)

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionChristopherView Question on Stackoverflow
Solution 1 - Iosdandan78View Answer on Stackoverflow
Solution 2 - IosGlennView Answer on Stackoverflow
Solution 3 - IosHutjepowerView Answer on Stackoverflow
Solution 4 - IosKSRView Answer on Stackoverflow
Solution 5 - IossidewaiiseView Answer on Stackoverflow
Solution 6 - IosIan WarburtonView Answer on Stackoverflow
Solution 7 - IosiOSArchitect.comView Answer on Stackoverflow
Solution 8 - Iosl-lView Answer on Stackoverflow
Solution 9 - IosiPhoneDeveloperView Answer on Stackoverflow