Most of new smartphone applications needs to interface with a web-based backend, when you are developing an iOS application you may receive the following message:
Transport security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
What does it mean?
It is really simple, you are trying to access a remote web server in clear text! iOS, by default, blocks the requests in clear text, since this type of request is insecure.
How to avoid this block?
Simply open the Info.plist of your project and add the following entries: