Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open general settings (not in the app settings) from the app in iOS 8?

I know about this

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

But I wanna know if its possible to go to the general settings. I need users to enable the keyboard but landing in the app settings confused many users. Any suggestions to open the general settings and even if possible the keyboards section?

like image 356
vatti Avatar asked Sep 13 '25 02:09

vatti


2 Answers

You cannot open system apps in iOS. You can show them the path to the message though.

'Settings->General->Keyboard' etc in a modal whenever you wish to display this information to the user.

like image 146
Kilenaitor Avatar answered Sep 14 '25 18:09

Kilenaitor


Starting from iOS 10 the one can use "App-Prefs:root" URL:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"App-Prefs:root"]];
like image 35
Umair Aamir Avatar answered Sep 14 '25 17:09

Umair Aamir