ssl - App Transport Security in Simulator -


i trying connect http://localhost simulator debugging. since ios 9 there app transport security enabled , connections without tls 1.2 getting blocked.

is there way allow connections url in debug-builds without adding target?

you can add following property application's plist file allow connection development:

<key>nsapptransportsecurity</key> <dict>     <key>nsallowsarbitraryloads</key>     <true/> </dict> 

i hope helps.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -