Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to drag the iphoneX simulator?

When moving the iPhoneX simulator I have tried clicking and dragging at the top, bottom and both sides and even all the corners but sometimes it works and other times it does not.

Why is this so random?

Where is there best place to click seeing as though there is no discernible bar like in other Mac applications

Putting this question up because it has been frustrating me for ages and maybe it will alleviate someone else's stress out there in dev-land.

like image 475
AMAN77 Avatar asked Jan 25 '18 13:01

AMAN77


People also ask

How do you scroll on Iphone simulator?

You can click the trackpad and drag (as other folks have said), or if you have "Three finger drag" enabled in Trackpad preferences, you can scroll with three fingers. Show activity on this post. You need to click and hold to scroll.

How do you run a simulator?

The basic way to open a list of simulators is to use Xcode -> Window -> Devices and Simulators. Here you can create and manage all available simulators. But you cannot run them directly. You need to build your application on the simulator, and then you can run it.


1 Answers

So trick question actually because you can click and drag from anywhere, BUT the trick is dragging in the direction away from the simulator first then you can drag it wherever you like.

The problem here is when you click and drag towards the screen first it gets picked up as a swipe event. Thats what you want to avoid.

WRONG

wrong way

RIGHT

enter image description here

Anyways hope this helps somebody.

Happy coding :D

like image 66
AMAN77 Avatar answered Sep 22 '22 12:09

AMAN77