2016-06-05 11:48:09.127 AlphaFace[1622:93412] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
이 메시지가 보인다면 아래와 같이 info.plist 를 수정한다.
open as source code로 열어서 맨 윗단의 <dict>태그 아래에 넣는다.
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>domain.com</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSExceptionMinimumTLSVersion</key>
<string>TLSv1.1</string>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
</dict>
</dict>
'모바일 > iOS' 카테고리의 다른 글
Swift2 - Failed to obtain sandbox extension for (0) | 2016.06.06 |
---|---|
Swift2- Reflection 사용법? (0) | 2016.06.06 |
[링크] Swift - SQLite 연동 (0) | 2016.06.06 |
[링크] Swift - Online Compiler (0) | 2016.06.06 |
Swift - NSUnknownKeyException (0) | 2016.06.05 |