views:

42

answers:

1

I have the camera working in my app, but after the picture is captured and I select use, the app crashes.

How can I connect this use button and make it set a UIImageView I have created to the captured image?

EDIT


Camera is available and ready Using two-stage rotation animation.

To use the smoother single-stage animation, this application must remove two-stage method    
implementations.

Using two-stage rotation animation is not supported when rotating more than one view 
controller or view controllers not the window delegate


*** ERROR: FigCreateCGImageFromJPEG returned -12905. Input (null) was 658522 bytes.

Received memory warning. Level=1
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason:         
'+[NSInvocation invocationWithMethodSignature:]: method signature argument cannot be nil'

Thanks

+1  A: 

Take a look at Apple's PhotoPicker sample project. From the description:

The chosen image or camera photo is displayed in a UIImageView.

Robot K