while m calling my api got this error in ios9 but it is working fine in ios8 The resource could not be loaded because the App Transport Security policy requires the use of a secure connection ios9
6
votes
2 Answers
5
votes
2
votes
I have solved it with adding some key in info.plist. The steps I followed are:
Opened my Projects
info.plistfileAdded 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:
