Telerik-Verified-Plugins / WKWebView

DEPRECATED - this plugin served a purpose in the past, but there are better implementation now
832 stars 149 forks source link

Wkwebview does not rotate properly #207

Open kevinverelst opened 8 years ago

kevinverelst commented 8 years ago

We are using cordova-plugin-screen-orientation to handle the rotation of our devices. When we included the wkwebview plugin, we where forced to also use cordova-plugin-screenorientation-for-wkwebview: https://github.com/EddyVerbruggen/cordova-plugin-screenorientation-for-wkwebview

They both are great and help us out a lot. Although it seems there is a bug: When our app starts in landscape on an iPad the app is first started in portrait and then rotated to landscape. This is okay, but when we lock our orientation landscape and start the app, the app starts in portrait mode and stays this way.

When the app is started landscape while using the standard UIWebview and cordova-plugin-screenorientation the app doesn't even rotate to landscape so the plugin for wkwebview seems to work even better than the original.

Any thought on how to fix this?

designzoo-peter commented 8 years ago

Also registering my interest in the rotation problems of wkwebview.