WKSelectionGranularityCharacter option of WKWebView broken in iOS 9

£可爱£侵袭症+ 提交于 2019-12-23 12:06:36

问题


I have an iPad app that uses the WKSelectionGranularityCharacter option of a WKWebView. It worked fine on an iOS 8 device and works on an 8.4 simulator but is broken on 9.1. A long press on text shows the magnifier but upon release no text is highlighted nor do any selection handles appear.

Is anyone else seeing this changed/broken behavior? Is there a workaround?

Update 10/31/2015: Also fails on XCode 7.2 and iOS 9.2 beta. Reported to Apple as a bug.

Update 11/26/2015: Still broken in latest XCode. No response or even a ranking at Apple's bugreport site.

来源:https://stackoverflow.com/questions/33429158/wkselectiongranularitycharacter-option-of-wkwebview-broken-in-ios-9

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!