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),

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

被折叠的 条评论
为什么被折叠?



