ios8调用相机报警告: Snapshotting a view that has not been rendered results in an empty snapshot?

来源:互联网 发布:http dev.mysql.com 编辑:程序博客网 时间:2024/06/05 19:16

这个是iOS8的一个Bug,官方Demo中也有这个问题.你可以试一下用dispatch_async在主线程presentImageController。

摄像头未全屏显示照相,跟系统有关的一个问题

imagePicker.modalPresentationStyle = UIModalPresentationStyle.OverCurrentContext

1 0