I have to open settings app from my app if gps is not enabled in iPhone. I have used the following code. It works well in iOS simulator but it does not work in iPhone. May I
Till iOS 5.0 it was possible to open settings via the URL schema, i.e
settings
URL schema
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"My Settings URL"]];
This has been deprecated from iOS 5.1 onwards.