Hi all,
We've had some reports that some Cordova games just show a black screen on iOS 10. Initial investigation indicates this is because a breaking change in iOS 10 is making UIWebView apps think they are actually WKWebView. However WKWebView apps appear to still work fine.
Consequently you should be able to work around this simply by enabling WKWebView. (Note on the Intel XDK, you must also use the new project format for it to take effect.) This has been on by default for a while now IIRC. We managed to iron out most of the problems and support all features (including, eventually, video), and more importantly WKWebView is significantly faster. So there is a strong case to enable it anyway, regardless of this issue.
Apple have made it virtually impossible to detect from Javascript if it's running in UIWebView or WKWebView. Unfortunately this means there isn't any immediately obvious way to fix this problem. We may need to get a change made in Cordova, which could take a few months to happen.
One solution is simply to drop support for UIWebView. This would mean only supporting iOS 9+, but it's already at 88% share and will probably soon jump up further as iPhone 7 sales (shipping with iOS 10) replace older devices. The positive side is it means all exported Cordova iOS apps benefit from improved performance.
We'll continue looking in to our options here, but it would be useful to know:
- is there a reason you aren't using WKWebView already? (maybe specific bugs, features etc)
- is it important to you to support iOS 8 and older?
Thanks for your patience, hopefully we will sort this out soon!