Are you sure it does not work? I tested it and everything is fine.
Possible actions :
, , Xcode , :
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure.
Xcode . DEVICE_CODE
(Hint: it will be one of these ~/Library/Developer/CoreSimulator/Devices/. The easiest way to find this code from Xcode is to go Window->Devices)
:
~/Library/Logs/CoreSimulator/<DEVICE_CODE>/system.log
( , Xcode , Transport Transport).
, , .
, Xcode.
==================================
.
P.S
NSAllowsArbitraryLoads true, :
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>yourserver.com</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSTemporaryExceptionMinimumTLSVersion</key>
<string>TLSv1.1</string>
</dict>
</dict>
</dict>