I am trying to run a few samples that came with the Iphone SDK throught the Cocoa simulator and for some reason the code comes back with camera not present.
I would have thought Apple would have added some smarts in to display a dummy image (like TWAIN) or used the camera hardware on my macbook.
Is there a way for me to run the following code and get following code to succeed on the simulator -
if ( ([UIImagePickerController
isSourceTypeAvailable:UIImagePickerControllerSourc eTypeCamera])
|| (delegateObject == nil) || (controller == nil))
{
// do my job
}