美文网首页
ITMS-90809: Deprecated API Usage

ITMS-90809: Deprecated API Usage

作者: 贝灬小晖 | 来源:发表于2020-03-25 18:09 被阅读0次

由于苹果将要不再支持UIWebView
收到邮件
ITMS-90809: Deprecated API Usage

问题1:UIWebView 设置了 User Agent

解决:现在需要改成WKWebView
这个方法确实很好用
https://stackoverflow.com/questions/26994491/set-useragent-in-wkwebview

let webConfiguration = WKWebViewConfiguration()
webConfiguration.applicationNameForUserAgent = "ExampleApp/1.0 (iPhone)"

5.29日 又提交了版本 但是还是打回来了 说有UIWeb 百思不得

使用命令行 到项目目录下

grep -r UIWebView .
image.png

这样就查到你项目中的UIWeb了

相关文章

网友评论

      本文标题:ITMS-90809: Deprecated API Usage

      本文链接:https://www.haomeiwen.com/subject/iemxuhtx.html