Hardware interaction

Hardware interactionYou use the iPhone Simulator Hardware menu (refer to Figure 4-8) when you want your device to do the following:

Rotate Left: Choosing HardwareORotate Left rotates the Simulator to the left. This enables you to see the Simulator in Landscape mode.

Rotate Right: Choosing HardwareORotate Right rotates the Simulator to the right.

Use a Shake Gesture: Choosing HardwareOShake Gesture simulates shaking the iPhone.

Go to the Home screen: Choosing HardwareOHome does the expected — you go to the home screen.

Lock the Simulator (device): Choosing HardwareOLock locks the simulator.

Send the running application low-memory warnings: Choosing HardwareOSimulate Memory Warning fakes out your simulator by sending it a (fake) low-memory warning. I won’t be covering this, but it is a great feature for seeing how your app may function out there in the real world.

Toggle the status bar between its Normal state and its In Call state:

Choose HardwareOToggle In-Call Status Bar to check out how your application functions when the iPhone is not answering a call (Normal state) and when it supposedly is answering a call (In Call state).

The status bar becomes taller when you’re on a call than when you’re not. Choosing In Call state here shows you how things look when your application is launched while the user is on the phone.

✓ ✓ ✓ ✓ ✓

One thought on “Hardware interaction