iOS iOS9下修改回HTTP模式進行網絡請求

升級爲iOS9後,默認請求類型爲https,如何使用http進行請求會報錯html The resource could not be loaded because the App Transport Security policy requires the use of a secure connection. 方案一:讓服務器修改成TLS1.2服務器   方案二:在plist中設置使用http
相關文章
相關標籤/搜索