xcode version7.0 禁用https
2015-09-18 14:03
483 查看
在info.plist里添加
NSAppTransportSecurity
NSAllowsArbitraryLoads
关于微信:
当你使用了ios9编译发布新版本APP,并且用到了判断是否安装微信接口时,需要在“Info.plist”里增加如下代码:
<key>LSApplicationQueriesSchemes</key>
<array>
<string>weixin</string>
<string>wechat</string>
</array>
<key>NSAppTransportSecurity</key>
<dict><key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
完成后需使用Xcode 7编译。
参考链接:
http://www.china-7.net/view-155058.html
NSAppTransportSecurity
NSAllowsArbitraryLoads
关于微信:
当你使用了ios9编译发布新版本APP,并且用到了判断是否安装微信接口时,需要在“Info.plist”里增加如下代码:
<key>LSApplicationQueriesSchemes</key>
<array>
<string>weixin</string>
<string>wechat</string>
</array>
<key>NSAppTransportSecurity</key>
<dict><key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
完成后需使用Xcode 7编译。
参考链接:
http://www.china-7.net/view-155058.html
相关文章推荐
- Tcp协议理解
- Xcode7 网络请求报错:The resource could not be loaded because the App Transport Security policy requir
- xcode7.0-iOS9新特性之二:网络适配
- RedHat Linux网络配置过程笔记
- 计算机网络之局域网&以太网
- 计算机网络之局域网&以太网
- 【 Android官方文件读书笔记】连接网络
- ios网络判断的方式
- 计算机网络之数据链路层
- 计算机网络之数据链路层
- 计算机网络之概念解析
- 计算机网络之概念解析
- c++ Windows Socket实现最简单的C/S网络通信(TCP)
- 监测网络状态
- Http请求中Content-Type讲解以及在Spring MVC中的应用
- iOS9升级后退回HTTP协议
- 初次接触volley网络框架,进行初步封装使用
- nginx 负载均衡之 ngx_http_upstream_hash_module
- hdu 1532 Drainage Ditches(网络流之最大流EdmondsKarp)
- TCP/IP协议详解之 TCP协议学习笔记