您的位置:首页 > 移动开发

WKWebView 在64位设备上的白屏问题

2015-06-10 08:59 555 查看
WKWebView 问题

32 位的app在使用WKWebView的时候,如果运行在64位的设备上,会出现一下问题:

(1)iOS8.1 系统,部分网页加载白屏,例如 百度,iOS8.3 似乎没问题

(2)web输入框输入汉字也会出现白屏

通过搜索得到问题根源:

WKWebView's WebProcess runs out-of-process as a 64-bit process on hardware supporting 64bit. There is a 32bit/64bit marshalling IPC bug for 32 bit apps using the WKWebView client on such hardware. The bug causes the WebProcess to exit, leaving a blank screen.

也就是一个进程间通讯的bug引起的。

解决方案,可以使app支持arm64,便不会出现问题。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: