error:
The resource could not be loaded because the App Transport Security policy requires the use of a secure connection
I have solved it with adding some key in info.plist. The steps I followed are:
- Opened my Projects
info.plistfile - Added a Key called
NSAppTransportSecurityas aDictionary. - Added a Subkey called
NSAllowsArbitraryLoadsasBooleanand set its value toYESas like following image.
Clean the Project and Now Everything is Running fine as like before.
Ref Link: http://stackoverflow.com/a/32609970
EDIT: OR In source code of
info.plist file we can add that: NSAppTransportSecurity

No comments:
Post a Comment