The resource could not be loaded because the App Transport Security policy requires the use of a secure connection
Transport security is provided in iOS 9.0 or later, and in OS X v10.11 and later.
So by default only https calls only allowed in apps. To turn off App Transport Security add following lines in info.plist file...
NSAppTransportSecurity
For more info:
https://developer.apple.com/library/prerelease/ios/technotes/App-Transport-Security-Technote/
https://developer.apple.com/library/prerelease/ios/technotes/App-Transport-Security-Technote/
留言
張貼留言