摘要: 1.在Info.plist中添加 NSAppTransportSecurity 类型 Dictionary 2.在 NSAppTransportSecurity 下添加 NSAllowsArbitraryLoads 类型 Boolean ,其值设为 YES 阅读全文
posted @ 2016-04-22 14:21 ~道一~ 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 1.command+N > Other > PCH File 2.点击工程 > Build Settings > 搜索框中输入pref > 找到Prefix Header 输入 $(SRCROOT)/pch文件名.pch(例如:PrefixHeader.pch) 可能会报错: /Users/appl 阅读全文
posted @ 2016-04-22 10:52 ~道一~ 阅读(256) 评论(0) 推荐(0) 编辑