반응형
[ios] Solution for "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection" |
-
Add following to "info.plist"
NSAppTransportSecurity NSDictionary
NSAllowsArbitraryLoads BOOL YES
-
The reason why such error appears is that Apple decided to support only secure connection (https) by default.
So above solution is temporary, and it is recommended to change your server as https connection.
반응형
'프로그래밍 놀이터 > iOS' 카테고리의 다른 글
[objective c] 형변환 (0) | 2017.10.28 |
---|---|
[ios] abstract class 만드는 방법 (0) | 2017.10.27 |
[ios] String Concat ( String 연결하기 ) (0) | 2017.10.25 |
[ios] GCD ( Grand Central Dispatch ) Tutorial (0) | 2017.10.24 |
[ios/design pattern] private 메서드 정의하기 (0) | 2017.10.23 |
댓글