Skip to content

Instantly share code, notes, and snippets.

@tzmartin
Created January 13, 2016 18:27
Show Gist options
  • Select an option

  • Save tzmartin/b7019c22fc3152a0b2fe to your computer and use it in GitHub Desktop.

Select an option

Save tzmartin/b7019c22fc3152a0b2fe to your computer and use it in GitHub Desktop.
iOS Settings URL Scheme List

Settings URL schemes:

Note: < i=OS 5.1 use prefs:. > 5.1 use app-settings:

  • app-settings:root=General&path=About
  • app-settings:root=General&path=ACCESSIBILITY
  • app-settings:root=AIRPLANE_MODE
  • app-settings:root=General&path=AUTOLOCK
  • app-settings:root=General&path=USAGE/CELLULAR_USAGE
  • app-settings:root=Brightness
  • app-settings:root=General&path=Bluetooth
  • app-settings:root=General&path=DATE_AND_TIME
  • app-settings:root=FACETIME
  • app-settings:root=General
  • app-settings:root=General&path=Keyboard
  • app-settings:root=CASTLE
  • app-settings:root=CASTLE&path=STORAGE_AND_BACKUP
  • app-settings:root=General&path=INTERNATIONAL
  • app-settings:root=LOCATION_SERVICES
  • app-settings:root=ACCOUNT_SETTINGS
  • app-settings:root=MUSIC
  • app-settings:root=MUSIC&path=EQ
  • app-settings:root=MUSIC&path=VolumeLimit
  • app-settings:root=General&path=Network
  • app-settings:root=NIKE_PLUS_IPOD
  • app-settings:root=NOTES
  • app-settings:root=NOTIFICATIONS_ID
  • app-settings:root=Phone
  • app-settings:root=Photos
  • app-settings:root=General&path=ManagedConfigurationList
  • app-settings:root=General&path=Reset
  • app-settings:root=Sounds&path=Ringtone
  • app-settings:root=Safari
  • app-settings:root=General&path=Assistant
  • app-settings:root=Sounds
  • app-settings:root=General&path=SOFTWARE_UPDATE_LINK
  • app-settings:root=STORE
  • app-settings:root=TWITTER
  • app-settings:root=General&path=USAGE
  • app-settings:root=VIDEO
  • app-settings:root=General&path=Network/VPN
  • app-settings:root=Wallpaper
  • app-settings:root=WIFI
  • app-settings:root=INTERNET_TETHERING

Implementation

Titanium

  Ti.Platform.openURL("app-settings:root=General&path=About");

Swift

UIApplication.sharedApplication().openURL(NSURL(string:"prefs:root=General&path=Keyboard")!)

Objective-C

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=General&path=Keyboard"]];
@bdeng-mdl
Copy link

Hi, do you have an url for a deep link to open the Settings -> Screen time -> Content & Privacy Restrictions -> Content Restrictions -> Apps
it could be helpful to quickly hide some apps in such cases like avoiding my kids.
I've known the url like prefs:root=SCREEN_TIME&path=CONTENT_PRIVACY but no available link in a deeper menu.
I would appreciate it to directly set to 12+ if possible

@flexgrip
Copy link

flexgrip commented Jul 1, 2023

Do any of these work in iOS 16?

@alexsorokoletov
Copy link

alexsorokoletov commented Aug 13, 2023

App-prefs: instead of app-settings: works in 16 in Simulators (doesn't work on a device for some reason), app-settings: also seem to work but only with the root part, path didn't work for me

@bhumikacodezee
Copy link

Hello, do you have an url for a deep link to open the Settings -> Screen time -> Screen Distance?

@alexisbronchart
Copy link

Any clue on how to get to the Health settings?

@furiosFast
Copy link

not work with ios 18

@sivo1981
Copy link

sivo1981 commented Nov 16, 2024

not work with ios 18

For iOS 18 you have to use different method beacuse openURL is deprecated.

Swift

UIApplication.sharedApplication().openURLOptionsCompletionHandler(NSURL(string:"app-settings:root=NOTIFICATIONS_ID"), null, null)

@furiosFast
Copy link

furiosFast commented Nov 18, 2024

For iOS 18 you have to use different method beacuse openURL is deprecated.

I tried
UIApplication.shared.open(URL(string: "app-settings:root=NOTIFICATIONS_ID")!, options: [:], completionHandler: nil)
and
UIApplication.shared.open(URL(string: "app-settings:root=General&path=About")!, options: [:], completionHandler: nil)
but the only result I got was to open the ios settings app on my app page.

@jamismisseldine-sudo
Copy link

Is there a code name for the Picture in Picture settings? As well as the task button settings? I want to make quick links to switch these but every time I’ve tried it just goes to general settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment