How do I test a camera in the iPhone simulator?

ios-simulator, iphone

Solution

There are a number of device specific features that you have to test on the device, but it's no harder than using the simulator. Just build a debug target for the device and leave it attached to the computer.

List of actions that require an actual device:

- the actual phone

- the camera

- the accelerometer

- real GPS data

- the compass

- vibration

- push notifications...

Problem

Is there any way to test the iPhone camera in the simulator without having to deploy on a device? This seems awfully tedious.

Original source