imagePicker 拍照时报错

本文详细解析了iOS应用中使用imagePicker组件进行拍照时遇到的各类错误,包括空快照、无法完成的操作及不支持的媒体类型等问题,并提供了具体的解决办法。

imagePicker 拍照时报错

Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
2016-04-27 09:22:43.092 loxer[5673:2377599] * Camera: Error capturing still image (Error Domain=AVFoundationErrorDomain Code=-11800 “The operation could not be completed” UserInfo={NSUnderlyingError=0x127f84e10 {Error Domain=NSOSStatusErrorDomain Code=-16800 “(null)”}, NSLocalizedFailureReason=An unknown error occurred (-16800), NSLocalizedDescription=The operation could not be completed})
2016-04-27 09:22:43.107 loxer[5673:2377599] * Camera: captureStillImageSurfaceAsync error, not continuing (Error Domain=AVFoundationErrorDomain Code=-11800 “The operation could not be completed” UserInfo={NSUnderlyingError=0x127f84e10 {Error Domain=NSOSStatusErrorDomain Code=-16800 “(null)”}, NSLocalizedFailureReason=An unknown error occurred (-16800),

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值