도래울

ios launch app setting 본문

개발/iOS

ios launch app setting

도래울 2016. 11. 2. 15:16

You can open settings apps programmatically like this (works only from iOS8 onwards).

If you are using Swift:

UIApplication.sharedApplication().openURL(NSURL(string: UIApplicationOpenSettingsURLString)!)

If you are using Objective-C:

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

For other lower versions (less than iOS8) its not possible to programatically open the settings app.



Comments