Time for action — simulating hardware in the simulator
With a real device, we can shake, pinch, and rotate the iPhone or iPad to interact with an iAd. These events can be emulated within the simulator.
- We'll be using an example project with a selection of objects we can interact with. Open the
Interaction Demo project included with the book assets.
- From the ad overview, click the Simulate button to open the simulator. First up, let's look at rotating the device.
- You should see the banner appear in iAd Tester. We'll now rotate the simulator to check how our banner looks in landscape. From the menu bar, select Hardware then Rotate Left or Rotate Right to rotate the device. The simulator will then rotate and the banner should update to show in landscape. ...