Hi there! I’m developing an Ionic 2 app on iOS and currently I’m using WKWebView.
The strange and annoying thing is that every time the app gets the focus it returns by default to the home page. How can I force the app to stay in the last view?
Hi @ds10320. Could you explain a bit more exactly what you are doing? How did you integrate WKWebView?
In simple words, on resuming from background/sleep, the app initialises entirely - so it’s displaying the splash screen and then the default view - every time!
I’m using the https://github.com/driftyco/cordova-plugin-wkwebview-engine
Also, see the issue https://github.com/driftyco/cordova-plugin-wkwebview-engine/issues/103
Forgot to mention, it’s an iOS only behaviour