• Register
Welcome to Kodlogs, programming questions and answer website.
+1 vote

Problem :

I am troubled by below mentioned strange looking app transport security error
app transport security has blocked a cleartext http (http://) resource load since it is insecure.
by (6.9k points)  
reopened by

1 Answer

+1 vote
Best answer

Solution :

This was tested on iOS 9 GM seed. This is the configuration to allow a specific domain to use HTTP instead of HTTPS:

            <key>example.com</key> <!--Include your domain at this line -->

Note : NSAllowsArbitraryLoads must be false.

As it disallows all insecure connection but the exceptions list allows connection to some domains without HTTPS.

by (36.1k points)  
selected by