如果我们在真正的预提交处理程序中,由于CA限制,我们实际上无法添加任何新的防护 [英] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction

查看:472
本文介绍了如果我们在真正的预提交处理程序中,由于CA限制,我们实际上无法添加任何新的防护的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用具有Camera类型的UIImagePickerController。当我第一次打开图像选择器控制器时它工作正常,但在打开图像选择器vc后,当我旋转设备时,它显示[App]如果我们在真正的预提交处理程序中我们实际上无法添加任何由于CA限制的新围栏&有一个带摄像头图像的白色屏幕,没有任何捕捉选项。

I am using UIImagePickerController with Camera type. When I first opens the image picker controller it works fine, But after open the image picker vc, when i rotate the device, It shows the "[App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction" & there is a white screen with camera image without any options to capture.

它还显示快照未渲染的视图会导致空白快照。确保您的视图在屏幕更新后快照或快照之前已经呈现了至少一次。

It also shows "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 9.3之前工作正常,这是在iOS10.3测试版中发生的。

It is working fine till iOS 9.3, this is happening in iOS10.3 beta.

我将非常感谢您的帮助。

I will appreciate your help.

在此处查找屏幕截图: https://postimg.org/image/qy6k7dc7b/

Find screenshots here: https://postimg.org/image/qy6k7dc7b/

我的代码库:

UIImagePickerController *pickerController = [[UIImagePickerController alloc] init];
pickerController.sourceType = UIImagePickerControllerSourceTypeCamera;
pickerController.delegate = self;
[self presentViewController:pickerController animated:YES completion:nil];

谢谢,

推荐答案

当设备的方向发生变化时会出现此消息,这可能是Apple方面的一些问题。已针对此问题提交雷达(雷达号28250512)
您可以暂时忽略该消息,否则,您可以通过设置环境变量来禁用操作系统给出的日志,如这个答案。

This message appears when the orientation of the device changes and is probably some issue from Apple side. A radar has been filed for this issue (Radar Number 28250512) You can ignore the message temporarily, or else, you can disable the logs given by OS by setting the environment variable as described in this answer.

这篇关于如果我们在真正的预提交处理程序中,由于CA限制,我们实际上无法添加任何新的防护的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆