How to Add the Events Controller to Your iOS App
How to Use a Navigation Controller in the Master View for Your iOS App
How to Add a Toolbar to Your iOS App

How to Make Gestures on the iOS Simulator

When you run your app on the iOS Simulator, you have to use different actions to simulate the gestures you would normally use. On the real device, a gesture is something you do with your fingers to make something happen in the device — a tap, a drag, a swipe, and so on. The table shows you how to simulate gestures using your mouse and keyboard.

Gestures in the Simulator
Gesture iPad Action
Tap Click the mouse.
Touch and hold Hold down the mouse button.
Double tap Double-click the mouse button.
Two-finger tap 1. Move the mouse pointer over the place where you want to start.
2. Hold down the Option key, which makes two circles appear that stand in for your fingers.
3. Click the mouse button.
Swipe 1. Click where you want to start and hold down the mouse button.
2. Move the mouse slowly in the direction of the swipe and then release the mouse button.
Flick 1. Click where you want to start and hold the mouse button down.
2. Move the mouse quickly in the direction of the flick and then release the mouse button.
Drag 1. Click where you want to start and hold down the mouse button.
2. Move the mouse slowly in the drag direction.
Pinch 1. Move the mouse pointer over the place where you want to start.
2. Hold down the Option key, which makes two circles appear that stand in for your fingers.
3. Hold down the mouse button and move the circles in (to pinch) or out (to unpinch).
  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus
How to Add the Weather View Controller to Your iOS App
How to Add a Background Image to Your iOS App
How to Add a Button to Your iOS App
How to Set Up a WeatherController in the Main_iPad.storyboard file for Your iOS App
How to Create an Xcode Project for an iPad App
Advertisement

Inside Dummies.com