如何使用拍摄的照片?
我的应用程序中的相机可以正常工作,但是在捕获图片并选择使用后,应用程序崩溃了。
如何连接此使用按钮并将其设置为捕获的图像创建的 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'
谢谢
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看看苹果的 PhotoPicker 示例项目。从描述来看:
Take a look at Apple's PhotoPicker sample project. From the description: