WKWebView can not handle long press on link

Originator:an00na
Number:rdar://22897006 Date Originated:29-Sep-2015 10:38 AM
Status:Closed Resolved:in iOS 10
Product:iOS SDK Product Version:9.0
Classification:Other Bug Reproducible:Always
 
Summary:
UIWebView doesn’t show action sheet for long press on link. It spews this warning:
Attempt to present <WKActionSheet: 0x101899400> on <WKWebViewAlertBug.ViewController: 0x10124b530> whose view is not in the window hierarchy!

Steps to Reproduce:
1. Launch sample app.
2. Open Web.
3. Long press on a link.

Regression:
iOS 8 doesn’t have this issue.

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!