I have solved it with adding some key in info.plist. As I am using objective C for some native application.
The steps I followed are:
-
Opened my Projects
info.plist
file -
Added a Key called
NSAppTransportSecurity
as aDictionary
. - Added a Subkey called
NSAllowsArbitraryLoads
asBoolean
and set its value toYES
as like following image.
Clean the Project and Now Everything is Running fine as like before.
Ref Link:
-
https://stackoverflow.com/a/32631185/2905967
-
https://stackoverflow.com/a/32609970