-[UIPreviewItemController stopInteraction] called more than once after startInteraction

Originator:SaagarJha28
Number:rdar://31906759 Date Originated:29-Apr-2017 06:57 PM
Status:Open Resolved:
Product:iOS + SDK (UIKit) Product Version:iOS 10.3 [14E269]
Classification:Other Bug Reproducible:
 
Area:
UIKit

Summary:
When presenting a SFSafariViewController from a WKWebView using 3D Touch, I'm getting a warning ("-[UIPreviewItemController stopInteraction] called more than once after startInteraction. This is unexpected, please file a radar.") in the console telling me to file a radar. Please see attached sample project.

Steps to Reproduce:
1. Run the attached project.
2. 3D Touch the link to peek, then press harder to pop.
3. Observe the console; "-[UIPreviewItemController stopInteraction] called more than once after startInteraction. This is unexpected, please file a radar." will show up.

Expected Results:
No output in the console.

Actual Results:
-[UIPreviewItemController stopInteraction] called more than once after startInteraction. This is unexpected, please file a radar.

Version:
iOS 10.3 (14E5269)

Notes:
Other than the warning, everything else seems to work as expected (though there a bunch of "if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction" messages as well)

Configuration:
iOS Simulator

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!