ios开发之--ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability

App Store Connect

Dear Developer,

We identified one or more issues with a recent delivery for your app, "chaseu" 1.0 (31). Please correct the following issues, then upload again.

ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

Best regards,

The App Store Team

 

译文就不上了,大概意思是UIWebView废弃了,项目中使用了webView的在connect里面构建版本是看不见的,换成WKWebView就好了。

 

替换UIWebView的方法:

1、手动搜索下呗,全局替换下

全局搜索UIWebview ,将相关代码替换为WKWebView。

2、项目开发中使用的第三方工具类,组件,或者是pod库,都可能包含UIWebView

1)从终端cd到要检查的项目根目录。注意是根目录。即:*.xcodeproj所在的目录

2)grep -r UIWebView .

注:UIWebView后面有个空格得加上一个英文的句号,不然会报错,

3)剩下的就是把pod库更新或者移除下,最好更新到最高版本

posted @ 2022-08-18 10:08  稻草人11223  阅读(392)  评论(0编辑  收藏  举报
返回顶部