모바일/IOS
The resource could not be loaded because the App Transport Security policy requires the use of a secure connection
죠부니
2018. 1. 11. 17:29
반응형
rror Domain=NSURLErrorDomain Code=-1022 "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection."
HTTPS로 통신을 하지 않을경우 가능하게 풀어줘야한다.
https://ste.vn/2015/06/10/configuring-app-transport-security-ios-9-osx-10-11/
http://blowmj.tistory.com/entry/iOS-iOS9-App-Transport-Security-%EC%84%A4%EC%A0%95%EB%B2%95
App-Transport-Security설정
Info.pilist
<key> NSAppTransportSecurity </key>
<dict>
<key> NSAllowsArbitraryLoads </key>
<true/>
</dict>
부분 추가
반응형