如何修复UIWebView不推荐使用的Ionic 4 [英] How to fix UIWebView deprecated Ionic 4
问题描述
在提交我的最新版本时,Apple突然返回一条消息,指出存在问题,具体是:
When submitting my latest build, Apple suddenly returned a message saying that there was an issue, specifically:
ITMS-90809:不推荐使用的API-Apple将停止接受使用UIWebView API的应用程序的提交.有关更多信息,请参见 https://developer.apple.com/documentation/uikit/uiwebview 信息. 这与使用IONIC框架的含义和意义有关. 如何解决.
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs. See https://developer.apple.com/documentation/uikit/uiwebview for more information. What that means and are that related to using the IONIC framework. How to fix it.
推荐答案
科尔多瓦团队昨天发布了2019-11-25发布的cordova-ios@5.1.0
The cordova team yesterday released 2019-11-25 a release cordova-ios@5.1.0
此版本解决了来自苹果商店的ITMS-90809警报.
This release resolves the ITMS-90809 alert from the apple store.
cordova platform remove ios
cordova platform add ios@5.1.0
Add <preference name = "WKWebViewOnly" value = "true" /> to your config.xml file
Run "cordova prepare ios" to apply the changes.
这篇关于如何修复UIWebView不推荐使用的Ionic 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!