
iOS
ios学习
*且听风吟
好的习惯要坚持,坏的习惯要摒弃。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure.
app涉及到http访问时,会出现这个错误:App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure 解决方法是: 1.打开工程的info.plist: 增加属性App Transport Security Settings; 2.在此属性下添加Allow...原创 2016-08-23 10:45:50 · 326 阅读 · 0 评论 -
Swift 使用CocoaPods 导入第三方网络库——Alamofire
1.在已经安装了CocoaPods的前提下,cd进入项目所在目录,创建Podfile文件: touch Podfile 2.打开pod file文件: open -e Podfile 3.在打开的Podfile文本编辑器里输入: source 'https://github.com/CocoaPods/Specs.git' platform :ios, ‘8.0’ use_framew...原创 2016-08-23 09:19:46 · 823 阅读 · 0 评论