ios下打开相机遇到的闪退问题 (Snapshotting a view that has not been rendered results in an empty snapshot.)
来源:互联网 发布:玩客币 知乎 编辑:程序博客网 时间:2024/05/16 09:28
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.
解决方案:
ios文件夹下得AppController
- (NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window{
return UIInterfaceOrientationMaskAll;
}
然后在使用UIImagePickerController的viewController
- (NSUInteger)supportedInterfaceOrientations{
return UIInterfaceOrientationMaskLandscape;
}
0 0
- ios下打开相机遇到的闪退问题 (Snapshotting a view that has not been rendered results in an empty snapshot.)
- ios下打开相机遇到的闪退问题 (Snapshotting a view that has not been rendered results in an empty snapshot.)
- iOS开发打不开相册相机,并报Snapshotting a view that has not been rendered results in an empty snapshot.
- ios8调用相机报警告: Snapshotting a view that has not been rendered results in an empty snapshot. Ensure you
- ios8调用相机报警告: Snapshotting a view that has not been rendered results in an empty snapshot. Ensure yo
- ios8调用相机报警告: Snapshotting a view that has not been rendered results in an empty snapshot?
- Snapshotting a view that has not been rendered results in an empty snapshot.
- Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has be
- Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has be
- Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has be
- ios9微信支付报警告: Snapshotting a view that has not been rendered results in an empty snapshot. Ensure yo
- Finalizing a Cursor that has not been deactivated or closed
- Unity关于 "Move" can only be called on an active agent that has been placed on a NavMesh.问题的解决办法
- libpng warning: iCCP: Not recognizing known sRGB profile that has been edited问题的解决
- Move can only be called on an active agent that has been placed a Navmesh的解决办法
- Android 7.0 打开相机闪退问题
- ::system has not been declared 的问题
- How to restore an element that has been deleted in CCRC?
- Hadoop + Zookeeper + HBase 平台搭建(二)
- 12306的技术革命
- 关注跳出率
- 住房公积金取现
- 十位一线专家分享Spark现状与未来
- ios下打开相机遇到的闪退问题 (Snapshotting a view that has not been rendered results in an empty snapshot.)
- ArcScene下等高线转DEM
- 运行库 静态链接库VS动态链接库
- django中过滤表中两个字段比较大小得到的queryset:F()
- 京诺移动CRM带你体验科技办公
- VS编译Qt时若主函数为wmain时出现链接错误,找不到main入口函数
- 互联网创业 欢迎来“云”上安家
- 网易企业免费邮登陆邮件客户端设置方法
- Java验证身份证信息