How do I expand the blue highlighted text in UIWebView?

混江龙づ霸主 提交于 2019-12-11 17:39:05

问题


After tap and hold and release, text is highlighted in UIWebView. The user can expand the text by dragging the dots, but is there a way I can automatically do it in code? For example, the user selects "Abraham" and I expand it to be "Abraham Lincoln".


回答1:


No. That feature of the UIWebView cannot be modified using Apple-approved public APIs. This also applies to the magnifying glass.



来源:https://stackoverflow.com/questions/4579304/how-do-i-expand-the-blue-highlighted-text-in-uiwebview

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