简体   繁体   English

ITMS-90809:不推荐使用的API使用错误苹果将停止接受使用UIWebView API的应用程序的提交

[英]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: 回顾一下:

  • 5.1.0 has a conditional compile time flag that disables UIWebView. 5.1.0具有条件编译时标志,该标志禁用UIWebView。 This is an initial fix to prevent the Apple warning from being triggered. 这是防止Apple警告被触发的最初解决方法。
  • 6.0.0 will remove the entirety of UIWebView. 6.0.0将删除整个UIWebView。 This is a breaking change with more changes needed, so it'll be released sometime in the coming months. 这是一项重大更改,需要进行更多更改,因此它将在未来几个月内发布。

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.

相关问题 error ionic 4 ITMS-90809: Deprecated API Usage - Apple 将停止接受使用 UIWebView API 的应用程序提交 - error ionic 4 ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs Flutter ITMS-90809:不推荐使用 API - Apple 将停止接受使用 UIWebView API 的应用程序的提交 - Flutter ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs ITMS-90809:不推荐使用的 API 使用——Apple 将停止接受使用 UIWebView API 的应用程序的提交 - ITMS-90809: Deprecated API Usage -- Apple will stop accepting submissions of apps that use UIWebView APIs ITMS-90809:不推荐使用的 API 使用——当上传我的本机应用程序时,Apple 将停止接受使用 UIWebView API 的应用程序的提交 - ITMS-90809: Deprecated API Usage — Apple will stop accepting submissions of apps that use UIWebView APIs When upload my react native app ITMS-90809:已弃用 API 用法 — Apple 将停止接受使用 UIWebView API 的应用程序在上传 myApp 时的提交 - ITMS-90809: Deprecated API Usage — Apple will stop accepting submissions of apps that use UIWebView APIs When upload myApp Flutter:如何修复 ITMS-90809:已弃用 API 使用 - Apple 将停止接受使用 UIWebView API 的应用程序提交 - Flutter: How to fix ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs ITMS-90809:已弃用 API 用法(UIWebView) - ITMS-90809: Deprecated API Usage (UIWebView) Cordova iOS ITMS-90809:已弃用 API 用法 - 不再接受使用 ZB99A6ADB3DAB8ED29592ECD 的新应用程序CCD - Cordova iOS ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted Cordova ITMS-90809:已弃用 API 用法 - 不再接受使用 UIWebView 的新应用 - Cordova ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted ITMS-90809:弃用 API 用法 - 不再接受使用 UIWebView 的新应用 - ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM