[英]ITMS-90809: Deprecated API Usage Error Apple will stop accepting submissions of apps that use UIWebView APIs
We identified one or more issues with a recent delivery for your app, "ABCD" 1.0 (1.11). 我们发现您的应用最近交付的一个或多个问题“ ABCD” 1.0(1.11)。 Your delivery was successful, but you may wish to correct the following issues in your next delivery:
您的交付成功,但是您可能希望在下一次交付中更正以下问题:
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . ITMS-90809:不推荐使用的API-Apple将停止接受使用UIWebView API的应用程序的提交。 See https://developer.apple.com/documentation/uikit/uiwebview for more information.
有关更多信息,请参见https://developer.apple.com/documentation/uikit/uiwebview 。
After you???ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to App Store Connect. 解决问题之后,可以使用Xcode或Application Loader将新的二进制文件上传到App Store Connect。
Best regards, 最好的祝福,
The App Store Team App Store团队
Use WKWebView instead and don't forget to import WebKit in order to use WKWebView. 请改用WKWebView,不要忘记导入WebKit以便使用WKWebView。 Drag WebKit View into your storyboard, put in some constraint.
将WebKit View拖到情节提要中,并施加一些约束。
Then connect its outlet, like:
然后连接其插座,例如:
@IBOutlet weak var webView: WKWebView!
Make sure the datatype of this outlet is WKWebView (and not UIWebView). 确保此插座的数据类型为WKWebView(而不是UIWebView)。
In order to use it do: 为了使用它,请执行以下操作:
import WebKit
Then start using that outlet wherever and however you want. 然后在任何地方随便使用该插座。
let link = URL(string:"https://www.google.com")!
let request = URLRequest(url: link)
webView.load(request)
The cordova team yesterday released 2019-11-25 a release cordova-ios@5.1.0 This release resolves the ITMS-90809 alert from the apple store. 科尔多瓦团队昨天发布了2019-11-25发布cordova-ios@5.1.0此版本解决了来自苹果商店的ITMS-90809警报。
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.
To recap: 回顾一下:
This worked for me and I hope it works for you too. 这对我有用,我希望对您也有用。
https://cordova.apache.org/announcements/2019/11/25/cordova-ios-release-5.1.0.html#comment-4702612854 https://cordova.apache.org/announcements/2019/11/25/cordova-ios-release-5.1.0.html#comment-4702612854
https://ionicframework.com/blog/understanding-itms-90809-uiwebview-api-deprecation/ https://ionicframework.com/blog/understanding-itms-90809-uiwebview-api-deprecation/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.