标签:plist app bsp .com insecure encoding bit tin --
AFNetworking 出现问题:
App TransportSecurity has blocked a cleartext HTTP (http://) resource load since it isinsecure. Temporary exceptions can be configured via your app‘s Info.plistfile.
解决方法:
在Info.plist中添加 App Transport Security Settings ---》type选择Dictiomnary 在里面添加Allow Arbitrary Loads ---》type选择Boolean value选择YES
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict> </plist>
标签:plist app bsp .com insecure encoding bit tin --
原文地址:http://www.cnblogs.com/CatYang/p/6368885.html