IOS Xcode7 http 和 https

  • 控制台 提示
    App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.

解决方法是 右键点击 plist ->open as ->source code -> 下方添加 代码

NSAppTransportSecurity
    NSAllowsArbitraryLoads
    
  • 看我那么可爱n(≧▽≦)n
  • 关注我的微薄 (梁同桌):http://weibo.com/tongrenyinsheng
  • 个人网站(同人音声) http://www.tongrenyinsheng.com
  • ios 个人写的app (同人音声)ASMR音乐

你可能感兴趣的:(IOS Xcode7 http 和 https)