Hitting WKWebView on UINavigationController causing ui lag

I have two view managers. At first it just nudges the second navigation controller. Inside the controller of the second view I have WKWebView

and it is loaded into a method viewDidLoad

. Its content is a local html file which is very simple. Only 3 buttons and one image.

Here's the problem. During the transition, the second controller displays only a white screen. Once navigated, the WKWebView gets its content and shows the html. There is a 0.5 second delay between the end of the transition and the loading of the content.

Is there a way to speed up or pre-render the WKWebView

content?

+3
ios webkit uinavigationcontroller


source to share


No one has answered this question yet

Check out similar questions:

1146
performSelector may leak because its selector is unknown
57
Content pushed into UIPageViewController using UINavigationController
ten
WKWebView does not show content "below screen"
4
Animating UIView on UINavigationController click
1
UINavigationController pushViewController - keyboard lag behind animation
0
Lens-C - Delay UINavigationController pushViewController
0
UIWebView flickers on clicked ViewController
0
UINavigationController stops clicking
0
How to show WKWebView when fully displayed
0
WKWebView in ViewController with animation being clipped



All Articles
Loading...
X
Show
Funny
Dev
Pics