Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save iStig/1129556281d6fb51a19c to your computer and use it in GitHub Desktop.
Save iStig/1129556281d6fb51a19c to your computer and use it in GitHub Desktop.

Revisions

  1. @phynet phynet revised this gist Mar 11, 2016. 1 changed file with 10 additions and 11 deletions.
    21 changes: 10 additions & 11 deletions url-schemes-settings-ios.mkd
    Original file line number Diff line number Diff line change
    @@ -31,45 +31,44 @@ More info:
    | --- | --- |
    | `prefs:` | The **topmost level** General |
    | `prefs:root=General&path=About` | About |
    | `prefs:` | The **topmost level** General |
    | `prefs:root=General&path=ACCESSIBILITY` | Accessibility |
    | `prefs:root=ACCOUNT_SETTINGS` | Account Settings |
    | `prefs:root=AIRPLANE_MODE` | Airplane Mode |
    | `prefs:root=General&path=AUTOLOCK` | Autolock |
    | `prefs:root=General&path=USAGE/CELLULAR_USAGE` | Cellular Usage |
    | `prefs:root=Brightness` | Brightness |
    | `prefs:root=General&path=Bluetooth` | Bluetooth iOS < 9 |
    | `prefs:root=Bluetooth` | Bluetooth iOS > 9 |
    | `prefs:root=CASTLE` | Castle |
    | `prefs:root=General&path=USAGE/CELLULAR_USAGE` | Cellular Usage |
    | `prefs:root=General&path=ManagedConfigurationList` | Configuration List|
    | `prefs:root=General&path=DATE_AND_TIME` | Date and Time |
    | `prefs:root=FACETIME` | Facetime |
    | `prefs:root=General` | General |
    | `prefs:root=General&path=Keyboard` | Keyboard |
    | `prefs:root=CASTLE` | Castle |
    | `prefs:root=CASTLE&path=STORAGE_AND_BACKUP` | Backup |
    | `prefs:root=General&path=INTERNATIONAL` | Lang International |
    | `prefs:root=LOCATION_SERVICES` | Location Services |
    | `prefs:root=ACCOUNT_SETTINGS` | Account Settings |
    | `prefs:root=INTERNET_TETHERING` | Internet Tethering|
    | `prefs:root=MUSIC` | iTunes |
    | `prefs:root=MUSIC&path=EQ` | iTunes Equalizer|
    | `prefs:root=MUSIC&path=VolumeLimit` | iTunes Volume |
    | `prefs:root=General&path=Keyboard` | Keyboard |
    | `prefs:root=General&path=INTERNATIONAL` | Lang International |
    | `prefs:root=LOCATION_SERVICES` | Location Services |
    | `prefs:root=General&path=Network` | Network|
    | `prefs:root=NIKE_PLUS_IPOD` | Nike iPod |
    | `prefs:root=NOTES` | Notes|
    | `prefs:root=NOTIFICATIONS_ID` | Notifications ID |
    | `prefs:root=PASSBOOK` | Passbook |
    | `prefs:root=Phone` | Phone|
    | `prefs:root=Photos` | Photo Camera Roll |
    | `prefs:root=General&path=ManagedConfigurationList` | Configuration List|
    | `prefs:root=General&path=Reset` | Reset |
    | `prefs:root=Sounds&path=Ringtone` | Ringtone|
    | `prefs:root=Safari` | Safari |
    | `prefs:root=General&path=Assistant` | Siri|
    | `prefs:root=Sounds` | Sounds |
    | `prefs:root=General&path=SOFTWARE_UPDATE_LINK` | Software Update|
    | `prefs:root=CASTLE&path=STORAGE_AND_BACKUP` | Storage & Backup |
    | `prefs:root=STORE` | Store |
    | `prefs:root=TWITTER` | Twitter|
    | `prefs:root=General&path=USAGE` | Usage |
    | `prefs:root=VIDEO` | Video|
    | `prefs:root=General&path=Network/VPN` | VPN |
    | `prefs:root=Wallpaper` | Wallpaper|
    | `prefs:root=WIFI` | WIFI |
    | `prefs:root=INTERNET_TETHERING` | Internet Tethering|
    | `prefs:root=PASSBOOK` | Passbook |
  2. @phynet phynet revised this gist Mar 11, 2016. 1 changed file with 46 additions and 45 deletions.
    91 changes: 46 additions & 45 deletions url-schemes-settings-ios.mkd
    Original file line number Diff line number Diff line change
    @@ -26,49 +26,50 @@ Sometimes we need to open Setting's Preferences not of our app, but of the iPhon
    More info:

    **And there you have all the url's available:**

    prefs: (for those who want the topmost level)
    prefs:root=General&path=About
    prefs:root=General&path=ACCESSIBILITY
    prefs:root=AIRPLANE_MODE
    prefs:root=General&path=AUTOLOCK
    prefs:root=General&path=USAGE/CELLULAR_USAGE
    prefs:root=Brightness
    prefs:root=General&path=Bluetooth

    [UPDATE]prefs:root=Bluetooth

    prefs:root=General&path=DATE_AND_TIME
    prefs:root=FACETIME
    prefs:root=General
    prefs:root=General&path=Keyboard
    prefs:root=CASTLE
    prefs:root=CASTLE&path=STORAGE_AND_BACKUP
    prefs:root=General&path=INTERNATIONAL
    prefs:root=LOCATION_SERVICES
    prefs:root=ACCOUNT_SETTINGS
    prefs:root=MUSIC
    prefs:root=MUSIC&path=EQ
    prefs:root=MUSIC&path=VolumeLimit
    prefs:root=General&path=Network
    prefs:root=NIKE_PLUS_IPOD
    prefs:root=NOTES
    prefs:root=NOTIFICATIONS_ID
    prefs:root=Phone
    prefs:root=Photos
    prefs:root=General&path=ManagedConfigurationList
    prefs:root=General&path=Reset
    prefs:root=Sounds&path=Ringtone
    prefs:root=Safari
    prefs:root=General&path=Assistant
    prefs:root=Sounds
    prefs:root=General&path=SOFTWARE_UPDATE_LINK
    prefs:root=STORE
    prefs:root=TWITTER
    prefs:root=General&path=USAGE
    prefs:root=VIDEO
    prefs:root=General&path=Network/VPN
    prefs:root=Wallpaper
    prefs:root=WIFI
    prefs:root=INTERNET_TETHERING
    prefs:root=PASSBOOK
    | Command | Description |
    | --- | --- |
    | `prefs:` | The **topmost level** General |
    | `prefs:root=General&path=About` | About |
    | `prefs:` | The **topmost level** General |
    | `prefs:root=General&path=ACCESSIBILITY` | Accessibility |
    | `prefs:root=AIRPLANE_MODE` | Airplane Mode |
    | `prefs:root=General&path=AUTOLOCK` | Autolock |
    | `prefs:root=General&path=USAGE/CELLULAR_USAGE` | Cellular Usage |
    | `prefs:root=Brightness` | Brightness |
    | `prefs:root=General&path=Bluetooth` | Bluetooth iOS < 9 |
    | `prefs:root=Bluetooth` | Bluetooth iOS > 9 |
    | `prefs:root=General&path=DATE_AND_TIME` | Date and Time |
    | `prefs:root=FACETIME` | Facetime |
    | `prefs:root=General` | General |
    | `prefs:root=General&path=Keyboard` | Keyboard |
    | `prefs:root=CASTLE` | Castle |
    | `prefs:root=CASTLE&path=STORAGE_AND_BACKUP` | Backup |
    | `prefs:root=General&path=INTERNATIONAL` | Lang International |
    | `prefs:root=LOCATION_SERVICES` | Location Services |
    | `prefs:root=ACCOUNT_SETTINGS` | Account Settings |
    | `prefs:root=MUSIC` | iTunes |
    | `prefs:root=MUSIC&path=EQ` | iTunes Equalizer|
    | `prefs:root=MUSIC&path=VolumeLimit` | iTunes Volume |
    | `prefs:root=General&path=Network` | Network|
    | `prefs:root=NIKE_PLUS_IPOD` | Nike iPod |
    | `prefs:root=NOTES` | Notes|
    | `prefs:root=NOTIFICATIONS_ID` | Notifications ID |
    | `prefs:root=Phone` | Phone|
    | `prefs:root=Photos` | Photo Camera Roll |
    | `prefs:root=General&path=ManagedConfigurationList` | Configuration List|
    | `prefs:root=General&path=Reset` | Reset |
    | `prefs:root=Sounds&path=Ringtone` | Ringtone|
    | `prefs:root=Safari` | Safari |
    | `prefs:root=General&path=Assistant` | Siri|
    | `prefs:root=Sounds` | Sounds |
    | `prefs:root=General&path=SOFTWARE_UPDATE_LINK` | Software Update|
    | `prefs:root=STORE` | Store |
    | `prefs:root=TWITTER` | Twitter|
    | `prefs:root=General&path=USAGE` | Usage |
    | `prefs:root=VIDEO` | Video|
    | `prefs:root=General&path=Network/VPN` | VPN |
    | `prefs:root=Wallpaper` | Wallpaper|
    | `prefs:root=WIFI` | WIFI |
    | `prefs:root=INTERNET_TETHERING` | Internet Tethering|
    | `prefs:root=PASSBOOK` | Passbook |
  3. @phynet phynet revised this gist Mar 6, 2016. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion url-schemes-settings-ios.mkd
    Original file line number Diff line number Diff line change
    @@ -27,14 +27,17 @@ More info:

    **And there you have all the url's available:**

    prefs: (for those who want the topmost level)
    prefs:root=General&path=About
    prefs:root=General&path=ACCESSIBILITY
    prefs:root=AIRPLANE_MODE
    prefs:root=General&path=AUTOLOCK
    prefs:root=General&path=USAGE/CELLULAR_USAGE
    prefs:root=Brightness
    prefs:root=General&path=Bluetooth
    prefs:root=General&path=Bluetooth

    [UPDATE]prefs:root=Bluetooth

    prefs:root=General&path=DATE_AND_TIME
    prefs:root=FACETIME
    prefs:root=General
  4. @phynet phynet revised this gist Mar 6, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions url-schemes-settings-ios.mkd
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    Sometimes we need to open Setting's Preferences not of our app, but of the iPhone itself. What should we do to acomplish this?

    **[UPDATE: Added Wallet And Apple Pay below]**

    **[UPDATE: Changed prefs for Bluetooth]**


  5. @phynet phynet revised this gist Mar 6, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions url-schemes-settings-ios.mkd
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    Sometimes we need to open Setting's Preferences not of our app, but of the iPhone itself. What should we do to acomplish this?

    **[UPDATE: Added Wallet And Apple Pay below]**
    **[UPDATE: Changed prefs for Bluetooth]**


    ![keyboard](https://cloud.githubusercontent.com/assets/724536/9033179/41e2d7be-39c5-11e5-8c25-8d123923ae94.gif)
  6. @phynet phynet revised this gist Mar 6, 2016. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions url-schemes-settings-ios.mkd
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    Sometimes we need to open Setting's Preferences not of our app, but of the iPhone itself. What should we do to acomplish this?

    [UPDATE: Added Wallet And Apple Pay below]
    **[UPDATE: Added Wallet And Apple Pay below]**


    ![keyboard](https://cloud.githubusercontent.com/assets/724536/9033179/41e2d7be-39c5-11e5-8c25-8d123923ae94.gif)

    @@ -30,7 +31,8 @@ More info:
    prefs:root=General&path=AUTOLOCK
    prefs:root=General&path=USAGE/CELLULAR_USAGE
    prefs:root=Brightness
    prefs:root=General&path=Bluetooth
    prefs:root=General&path=Bluetooth
    [UPDATE]prefs:root=Bluetooth
    prefs:root=General&path=DATE_AND_TIME
    prefs:root=FACETIME
    prefs:root=General
  7. @phynet phynet revised this gist Feb 18, 2016. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion url-schemes-settings-ios.mkd
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    Sometimes we need to open Setting's Preferences not of our app, but of the iPhone itself. What should we do to acomplish this?

    [UPDATE: Added Wallet And Apple Pay below]

    ![keyboard](https://cloud.githubusercontent.com/assets/724536/9033179/41e2d7be-39c5-11e5-8c25-8d123923ae94.gif)


    @@ -61,4 +63,5 @@ More info:
    prefs:root=General&path=Network/VPN
    prefs:root=Wallpaper
    prefs:root=WIFI
    prefs:root=INTERNET_TETHERING
    prefs:root=INTERNET_TETHERING
    prefs:root=PASSBOOK
  8. @phynet phynet revised this gist Aug 3, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion url-schemes-settings-ios.mkd
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@ Sometimes we need to open Setting's Preferences not of our app, but of the iPhon

    ![gif-settings](https://cloud.githubusercontent.com/assets/724536/9033051/567a347a-39c4-11e5-9885-1e26460beab3.gif)

    2. Later, just write the code with the URL path of the preference needed. In my case was the keyboard path.
    2.- Later, just write the code with the URL path of the preference needed. In my case was the keyboard path.

    ##Swift

  9. @phynet phynet revised this gist Aug 3, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions url-schemes-settings-ios.mkd
    Original file line number Diff line number Diff line change
    @@ -3,11 +3,11 @@ Sometimes we need to open Setting's Preferences not of our app, but of the iPhon
    ![keyboard](https://cloud.githubusercontent.com/assets/724536/9033179/41e2d7be-39c5-11e5-8c25-8d123923ae94.gif)


    1. You must configure the URL Schemes in your project. You will find it in Target, Info, URL Scheme. Once there, just type **prefs**
    1. You must configure the URL Schemes in your project. You will find it in Target, Info, URL Scheme. Once there, just type **prefs**

    ![gif-settings](https://cloud.githubusercontent.com/assets/724536/9033051/567a347a-39c4-11e5-9885-1e26460beab3.gif)

    2. Later, just write the code with the URL path of the preference needed. In my case was the keyboard path.
    2. Later, just write the code with the URL path of the preference needed. In my case was the keyboard path.

    ##Swift

  10. @phynet phynet revised this gist Aug 3, 2015. 1 changed file with 8 additions and 3 deletions.
    11 changes: 8 additions & 3 deletions url-schemes-settings-ios.mkd
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,13 @@
    To open any option of settings, you must first configure the URL Schemes in Info:
    Sometimes we need to open Setting's Preferences not of our app, but of the iPhone itself. What should we do to acomplish this?

    ![keyboard](https://cloud.githubusercontent.com/assets/724536/9033179/41e2d7be-39c5-11e5-8c25-8d123923ae94.gif)

    ![gif-settings](https://cloud.githubusercontent.com/assets/724536/9033051/567a347a-39c4-11e5-9885-1e26460beab3.gif)

    Later, just write this code
    1. You must configure the URL Schemes in your project. You will find it in Target, Info, URL Scheme. Once there, just type **prefs**

    ![gif-settings](https://cloud.githubusercontent.com/assets/724536/9033051/567a347a-39c4-11e5-9885-1e26460beab3.gif)

    2. Later, just write the code with the URL path of the preference needed. In my case was the keyboard path.

    ##Swift

    @@ -14,6 +18,7 @@ Later, just write this code
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=General&path=Keyboard"]];


    More info:

    **And there you have all the url's available:**

  11. @phynet phynet revised this gist Aug 3, 2015. 1 changed file with 40 additions and 40 deletions.
    80 changes: 40 additions & 40 deletions url-schemes-settings-ios.mkd
    Original file line number Diff line number Diff line change
    @@ -17,43 +17,43 @@ Later, just write this code

    **And there you have all the url's available:**

    prefs:root=General&path=About
    prefs:root=General&path=ACCESSIBILITY
    prefs:root=AIRPLANE_MODE
    prefs:root=General&path=AUTOLOCK
    prefs:root=General&path=USAGE/CELLULAR_USAGE
    prefs:root=Brightness
    prefs:root=General&path=Bluetooth
    prefs:root=General&path=DATE_AND_TIME
    prefs:root=FACETIME
    prefs:root=General
    prefs:root=General&path=Keyboard
    prefs:root=CASTLE
    prefs:root=CASTLE&path=STORAGE_AND_BACKUP
    prefs:root=General&path=INTERNATIONAL
    prefs:root=LOCATION_SERVICES
    prefs:root=ACCOUNT_SETTINGS
    prefs:root=MUSIC
    prefs:root=MUSIC&path=EQ
    prefs:root=MUSIC&path=VolumeLimit
    prefs:root=General&path=Network
    prefs:root=NIKE_PLUS_IPOD
    prefs:root=NOTES
    prefs:root=NOTIFICATIONS_ID
    prefs:root=Phone
    prefs:root=Photos
    prefs:root=General&path=ManagedConfigurationList
    prefs:root=General&path=Reset
    prefs:root=Sounds&path=Ringtone
    prefs:root=Safari
    prefs:root=General&path=Assistant
    prefs:root=Sounds
    prefs:root=General&path=SOFTWARE_UPDATE_LINK
    prefs:root=STORE
    prefs:root=TWITTER
    prefs:root=General&path=USAGE
    prefs:root=VIDEO
    prefs:root=General&path=Network/VPN
    prefs:root=Wallpaper
    prefs:root=WIFI
    prefs:root=INTERNET_TETHERING
    prefs:root=General&path=About
    prefs:root=General&path=ACCESSIBILITY
    prefs:root=AIRPLANE_MODE
    prefs:root=General&path=AUTOLOCK
    prefs:root=General&path=USAGE/CELLULAR_USAGE
    prefs:root=Brightness
    prefs:root=General&path=Bluetooth
    prefs:root=General&path=DATE_AND_TIME
    prefs:root=FACETIME
    prefs:root=General
    prefs:root=General&path=Keyboard
    prefs:root=CASTLE
    prefs:root=CASTLE&path=STORAGE_AND_BACKUP
    prefs:root=General&path=INTERNATIONAL
    prefs:root=LOCATION_SERVICES
    prefs:root=ACCOUNT_SETTINGS
    prefs:root=MUSIC
    prefs:root=MUSIC&path=EQ
    prefs:root=MUSIC&path=VolumeLimit
    prefs:root=General&path=Network
    prefs:root=NIKE_PLUS_IPOD
    prefs:root=NOTES
    prefs:root=NOTIFICATIONS_ID
    prefs:root=Phone
    prefs:root=Photos
    prefs:root=General&path=ManagedConfigurationList
    prefs:root=General&path=Reset
    prefs:root=Sounds&path=Ringtone
    prefs:root=Safari
    prefs:root=General&path=Assistant
    prefs:root=Sounds
    prefs:root=General&path=SOFTWARE_UPDATE_LINK
    prefs:root=STORE
    prefs:root=TWITTER
    prefs:root=General&path=USAGE
    prefs:root=VIDEO
    prefs:root=General&path=Network/VPN
    prefs:root=Wallpaper
    prefs:root=WIFI
    prefs:root=INTERNET_TETHERING
  12. @phynet phynet created this gist Aug 3, 2015.
    59 changes: 59 additions & 0 deletions url-schemes-settings-ios.mkd
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,59 @@
    To open any option of settings, you must first configure the URL Schemes in Info:

    ![gif-settings](https://cloud.githubusercontent.com/assets/724536/9033051/567a347a-39c4-11e5-9885-1e26460beab3.gif)

    Later, just write this code


    ##Swift

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

    ##Objective-c

    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=General&path=Keyboard"]];



    **And there you have all the url's available:**

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