从2020年4月开始,苹果将停止接受使用UIWebView API的应用,打包的时候会给一个这样的提示:ITMS-90809: Deprecated API Usage** - Apple will stop accepting submissions of new apps that use UIWebView APIs starting from April 2020\. See [https://deve<wbr>loper.apple.<wbr>com/document<wbr>ation/uikit/<wbr>uiwebview](https://developer.apple.com/documentation/uikit/uiwebview) for more information.
方法一:
如果是手动拖AFNetWorking到你们的项目中,
你们其实可以通过手动删除去进行操作的。这里就不详细讲解了。
方法二:
其实AFNetWorking的Git上已经给出的答案
我们照做就行了
pod 'AFNetworking', '~> 3.2.1', :subspecs => ['Reachability', 'Serialization', 'Security', 'NSURLSession']
在pch导入文件这里换成
#import <AFNetworking/AFNetworking-umbrella.h>