关于iOS UIWebView 加载网页,点击网页内某些控件导致 Application 'UIKitApplication:xxx.xxx.xxx' was killed by jetsam.

问题:公司用的腾讯问卷系统,内嵌在我们应用或游戏的自定义UIWebView里面展示,发现在iOS 10 以下系统,点击圆形勾选框 会大概率出现闪退。

通过联调发现:报了这样一个警告Application 'UIKitApplication:xxx.xxx.xxx' was killed by jetsam. 然后没有更多的信息了。

(连接真机调试,当发生闪退的时候,设备会同时跟Xcode断开连接,没有更多的错误堆栈,另外设备也没有记录下更多的Crash log 提供定位。)

最后从以下获取到近似答案:

https://stackoverflow.com/questions/44258746/jetsam-kills-webgl-application-on-ios

https://support.apple.com/en-gb/HT207798

你会发现iOS 10.3.2 解决了很多webkit问题。

原文地址:https://www.cnblogs.com/qiyer/p/8427681.html