I have an app where I hit a HTTP Request
First solution:- just add bellow code in your info.plist
NSAppTransportSecurity
NSAllowsArbitraryLoads
Second solution:-
Any app built with SDK 9 needs to provide a LSApplicationQueriesSchemes entry in its plist file, declaring which schemes it attempts to query.
LSApplicationQueriesSchemes
urlscheme
urlscheme2
urlscheme3
urlscheme4
Assuming two apps TestA and TestB. TestB wants to query if TestA is installed. "TestA" defines the following URL scheme in its info.plist file:
CFBundleURLTypes
CFBundleURLSchemes
testA
The second app "TestB" tries to find out if "TestA" is installed by calling:
[[UIApplication sharedApplication]
canOpenURL:[NSURL URLWithString:@"TestA://"]];
But this will normally return NO in iOS9 because "TestA" needs to be added to the LSApplicationQueriesSchemes entry in TestB's info.plist file. This is done by adding the following code to TestB's info.plist file:
LSApplicationQueriesSchemes
TestA