if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
<p>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" &amp; there is a white screen with camera image without any options to capture.</p>

<p>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."</p>

<p>It is working fine till iOS 9.3, this is happening in iOS10.3 beta.</p>

<p>I will appreciate your help.</p>

<p>Find screenshots here: <a href="https://postimg.org/image/qy6k7dc7b/" rel="noreferrer">https://postimg.org/image/qy6k7dc7b/</a></p>

<p>My Codebase:</p>

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

<p>Thanks,</p>