How do I load an HTTP URL with App Transport Security enabled in iOS 9?
(unity the resource could not be loaded because the app transport security policy reqauires the use of a secure connection)
따라서 관련 이슈를 해결하기 위해서는 다음과 같은 과정을 진행해야 한다.
http://stackoverflow.com/questions/30731785/how-do-i-load-an-http-url-with-app-transport-security-enabled-in-ios-9
I have solved it with adding some key in info.plist. The steps I followed are:
- Opened my Projects
info.plist
file - Added a Key called
NSAppTransportSecurity
as aDictionary
. - Added a Subkey called
NSAllowsArbitraryLoads
asBoolean
and set its value toYES
as