telenordigital / connect-ios-sdk

Docs 📒👉
https://telenordigital.github.io/id-docs.telenordigital.com/integrate-ios-sdk.html
Apache License 2.0
9 stars 8 forks source link

Update to use correct webview for version #14

Closed jorunfa closed 8 years ago

jorunfa commented 8 years ago

For iOS 9 we should use SFSafariViewController. For iOS 8 we should use WKWebView. For older versions we can use UIWebView.

http://developer.outbrain.com/ios-best-practices-for-opening-a-web-page-within-an-app/ http://code.tutsplus.com/tutorials/ios-9-getting-started-with-sfsafariviewcontroller--cms-24260 http://blog.initlabs.com/post/100113463211/wkwebview-vs-uiwebview https://developer.apple.com/support/app-store/

jorunfa commented 8 years ago

We're currently only supporting iOS 8+, so only using SFSafariViewController and WKWebView.