0
我有相机在我的应用程序中工作,但在图片被捕获后,我选择使用,应用程序崩溃。如何使用拍摄的照片?
我该如何连接这个使用按钮,并设置我创建的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'
感谢
如果你能告诉我们为什么它会崩溃,我们可以提供帮助。你在控制台或调试器中看到什么? – Jasarien 2010-10-12 22:43:03
我编辑了我的问题,对不起。我从未发布堆栈跟踪。这些消息来自我启动相机,然后拍摄图片输出FigCreateCGImageFromJPEG以及内存警告,当我选择使用按钮时,应用程序终止。 – jarryd 2010-10-12 22:52:08
如果我再次运行它,它不会终止,但仍会给出一个内存警告级别1.如何解决这个问题,以及在哪里获取捕获的图像?我想将它设置为UIImageView。 – jarryd 2010-10-12 23:03:00