gpt4 book ai didi

objective-c - 由于UIWebView,Apple拒绝了 objective-c AFNetworking

转载 作者:行者123 更新时间:2023-12-02 06:08:20 29 4
gpt4 key购买 nike

由于UIWebView,在Apple上拒绝了 objective-c AFNetworking。尝试了所有建议。由于库过旧,无法升级该库。可以为AFNetworking安装的最新版本就像3.2.1这样。
有人有补救措施并正在工作吗?

最佳答案

If you integrate AFNetworking with Cocoapods and you don't needAFNetworking/UIKit subspec, you could define your podfile like this:pod 'AFNetworking', '~> 2.0', :subspecs => ['Reachability','Serialization', 'Security', 'NSURLSession', 'NSURLConnection'] Defineyour version number properly and depends on your dependences you couldremove NSURLConnection.


这是您提供的唯一不希望升级的选项,希望您也不想使用UIWebView。
参阅此 https://github.com/AFNetworking/AFNetworking/issues/4428

关于objective-c - 由于UIWebView,Apple拒绝了 objective-c AFNetworking,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63047654/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com