20

苹果开发中文网站分析一次有意思的需求——HTML代码注入

 5 years ago
source link: http://www.cocoachina.com/ios/20190225/26412.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
有个朋友问了我一个问题:他们通过WKWebView,访问了一个其他的页面,然后希望原生获得用户的输入信息。其实,我之前接触WKWebView并不多,但是这个问题我觉得很有意思。这篇文章便是我解决这个问题的全部思路,与最终的解决办法。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK