简体   繁体   English

如何从我们的应用程序启动设置内置应用程序?

[英]How to launch Settings inbuilt App from our App?

i want to open inbuilt Setting Application in my Application .. i want some idea to perform it.. how could i make it?? 我想在我的应用程序中打开内置的设置应用程序..我想要一些想法来执行它..我怎么能成功?

with some code..should be more effecient. 一些代码..应该更有效。 Thanks. 谢谢。 Keyur Prajapati Keyur Prajapati

You can use this in iOS 8: 您可以在iOS 8中使用它:

if (&UIApplicationOpenSettingsURLString != NULL) {
        NSURL *settings = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
        [[UIApplication sharedApplication] openURL:settings];
    }

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM