Replacing UIWebView with WKWebView in ICD Mobile iOS app
This task describes the steps on how to replace UIWebView with WKWebView in the ICD Mobile iOS app.
About this task
- UIWebView has been deprecated by Apple. Apple has released guidelines to use WKWebView instead of UIWebView, see https://ionicframework.com/docs/v3/wkwebview/. The iOS App Store will no longer accept new apps using UIWebView, see News and Updates on the Apple website.
-
Cross-Origin Resource Sharing (CORS) is a mechanism that uses additional HTTP headers to tell browsers to give a web application running at one origin, access to selected resources from a different origin. A web application executes a cross-origin HTTP request when it requests a resource that has a different origin (domain, protocol, or port) from its own. For more details on CORS, see https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS.
- CORS settings in system property must be enabled using the ICD Classic GUI to use WKWebView in the ICD Mobile iOS app. Follow the below steps on how to update CORS settings in system property using ICD Classic GUI.