I\'m new to mobile development. I\'m using Phonegap/Cordova to create a cross-platform app. My code works well on Android but when I\'m porting it to iPhone it\'s showing an
You will have to Domain Whitelist so you can access outside domains such as http://google.com.
In iOS (Cordova > 3.0.0), the whitelisting rules are found in AppName/config.xml
and declared with the element <access origin="..." />
You can also use wildcards to declare domains. For example, to allow access to all subdomains and TLDs (.com, .net, etc) of Google, use *.google.*
Reference: Domain Whitelist Guide