項目配置

PCH文件網絡

Targets中選中相應項目後選中Build Settings,搜索prefix,查找prefix Header選擇YES 輸入:$(SRCROOT)/ + 項目內pch文件路徑ui

ARC與MRC混編get

-fno-objc-arcit

iOS9引入新特性App Transport Securityio

新特性要求App內訪問的網絡必須使用HTTPS協議搜索

想訪問Http協議協議

在Info.plist中添加NSAppTransportSecurity類型Dictionary。 在NSAppTransportSecurity下添加NSAllowsArbitraryLoads類型Boolean,值設爲YES項目

相關文章
相關標籤/搜索