iOS9 HTTP传输安全

1.在Info.plist中添加 NSAppTransportSecurity 类型  Dictionary

2.在 NSAppTransportSecurity 下添加 NSAllowsArbitraryLoads 类型 Boolean ,其值设为 YES

posted @ 2016-04-22 14:21  ~道一~  阅读(167)  评论(0编辑  收藏  举报