SoFunction
Updated on 2025-04-12

A brief discussion on the white screen problem of WKWebView on 64-bit devices

WKWebView Problem

When a 32-bit app uses WKWebView, if it runs on a 64-bit device, the following problems will occur:

(1) In iOS8.1 system, some web pages load on white screens, such as Baidu, iOS8.3, seems to be fine

(2) A white screen will appear when entering Chinese characters in the web input box.

Search to get the root cause of the problem:

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.

That is, it is caused by a bug in inter-process communication.

The solution can make the app support arm64 so that there will be no problems.

The above article briefly discusses the white screen problem of WKWebView on 64-bit devices is all the content I share with you. I hope you can give you a reference and I hope you can support me more.