How to enable App Transport Security Settings
When you are running HTTP request in your iOS application first you have to enable the Transport App Security Settings. App Transport Security Settings are those which assign the permission to your application that you can hit HTTP service from your application and also you have to give permission to the Arbitrary Loads.Steps to enable App Transport Security Settings:-
- Click on your project in Xcode.
- Then go to info tab.
- In info tab, click on (+) tag then add App Transport Security Settings.
- After that clicking arrow button to left side of App Transport Security Settings.
- Then, you have to add the Allow Arbitrary Loads and make them Yes.
- Now you easily use HTTP request into your application