Saturday, April 18, 2015

iOS Launching Settings from iOS App

From iOS 8.0, it looks like application can launch the settings screen. Below code can do this


[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];

When tested with the sample app, below is the screenshot after running. In this case, the app had only requested for Notification permission. 


All the permissions for the appication will be listed in this screen. 

References: 

No comments:

Post a Comment