如何使用拍摄的照片?

时间:2010-10-12 22:40:20

标签: iphone uiimagepickercontroller

我的相机在我的应用程序中工作,但在拍摄照片后我选择使用,应用程序崩溃。

如何连接此使用按钮并将其创建的UIImageView设置为捕获的图像?

修改


  

相机已准备就绪   使用两阶段旋转动画。

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'

由于

1 个答案:

答案 0 :(得分:1)

看一下Apple的PhotoPicker sample project。从描述:

  

所选图像或相机照片是   显示在UIImageView中。