ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of new apps that use UIWebView APIs starting from April 2020. See https://developer.apple.com/documentation/uikit/uiwebview for more information.
解决WKWebView APIs替换 UIWebVIew APIs
1.指定cordova-ios 平台
cordova platform add ios@5.1.1
2.安装插件
cordova-plugin-wkwebview-engine
3.config.xml 配置 wkwebview
<platform name="ios">
<preference name="WKWebViewOnly" value="true" />
</platform>
4.执行cordova命令
cordova prepare ios