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

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,便不会出现问题。

posted @ 2015-06-10 08:59  沙影无痕  阅读(1045)  评论(0编辑  收藏  举报