A day ago, install my new app on ipad to test the result, and found out that when just install app with xcode everything working fine. After disconnected and terminate the app and reopen app, i was unable to communicate with local server to pass data or get data.
After search the problem on google, i found out that http now after ios 9 are not allow to be connect, which is insecure, and they are require to use https, which have to using ssl.
so i just want to test on local to see app is working or not, and i dont have https on local server, what should i do?
yes, there is a way to do so, open config.xml file youapp/config.xml
add bottom three line
192.168.1.111 should be your local server ip address, i am using mamp pro, and my ip is 192.168.1.111 mamp pro port is 8100 so will come to 192.168.1.111:8100.
this will solve this problem, any question leave comment. : )