-
-
Save One9398/35d80efdd2bb842a54fc3b29a459aea2 to your computer and use it in GitHub Desktop.
Revisions
-
phynet revised this gist
Sep 19, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,9 @@ ###Note _Apple will reject apps that are using private url schemes (Ugh, Apple....) if they are pretty much obvius. Some apps are rejected and others are not, so, be aware of this issue before implementing any of those URL's in your app as a feature._ ###***[UPDATE : Not yet tested in iOS 10. It will fail because of policies changes in URL scheme handling.]*** ###***[UPDATE 2:The openURL() method of UIApplication is now deprecated. You should use application(_:open:options:) instead]*** ##[UPDATE 3: For now you just can use url schemes to open your apps's settings with Swift 3.0 (Xcode 8). I'll keep you informed when OS preferences can be reached] -
phynet revised this gist
Sep 19, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,9 @@ ###Note _Apple will reject apps that are using private url schemes (Ugh, Apple....) if they are pretty much obvius. Some apps are rejected and others are not, so, be aware of this issue before implementing any of those URL's in your app as a feature._ ###[UPDATE : Not yet tested in iOS 10. It will fail because of policies changes in URL scheme handling.]*** ###[UPDATE 2:The openURL() method of UIApplication is now deprecated. You should use application(_:open:options:) instead] ##[UPDATE 3: For now you just can use url schemes to open your apps's settings with Swift 3.0 (Xcode 8). I'll keep you informed when OS preferences can be reached] -
phynet revised this gist
Sep 19, 2016 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,11 @@ ###Note _Apple will reject apps that are using private url schemes (Ugh, Apple....) if they are pretty much obvius. Some apps are rejected and others are not, so, be aware of this issue before implementing any of those URL's in your app as a feature._ #[UPDATE : Not yet tested in iOS 10. It will fail because of policies changes in URL scheme handling.]*** #[UPDATE 2:The openURL() method of UIApplication is now deprecated. You should use application(_:open:options:) instead] ##[UPDATE 3: For now you just can use url schemes to open your apps's settings with Swift 3.0 (Xcode 8). I'll keep you informed when OS preferences can be reached] Sometimes we need to open Setting's Preferences not of our app, but of the iPhone itself. What should we do to acomplish this? -
phynet revised this gist
Sep 19, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ ###Note _Apple will reject apps that are using private url schemes (Ugh, Apple....) if they are pretty much obvius. Some apps are rejected and others are not, so, be aware of this issue before implementing any of those URL's in your app as a feature._ ###[UPDATE : Not yet tested in iOS 10. It will fail because of policies changes in URL scheme handling.] ###[UPDATE 2:The openURL() method of UIApplication is now deprecated. You should use application(_:open:options:) instead] -
phynet revised this gist
Sep 19, 2016 . 1 changed file with 5 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,12 @@ ###Note _Apple will reject apps that are using private url schemes (Ugh, Apple....) if they are pretty much obvius. Some apps are rejected and others are not, so, be aware of this issue before implementing any of those URL's in your app as a feature._ ###[UPDATE : Not yet tested in iOS 10. It will fail because of policies changes in URL scheme handling.]*** ###[UPDATE 2:The openURL() method of UIApplication is now deprecated. You should use application(_:open:options:) instead] ###[UPDATE 3: For now you just can use url schemes to open your apps's settings with Swift 3.0 (Xcode 8). I'll keep you informed when OS preferences can be reached] Sometimes we need to open Setting's Preferences not of our app, but of the iPhone itself. What should we do to acomplish this? -
phynet revised this gist
Sep 18, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Sometimes we need to open Setting's Preferences not of our app, but of the iPhon ##Swift 3.0 This is a work around to open your app's preferences, but it will crash if you don't have any. Still we don't know yet how to open iPhone preferences. UIApplication.shared.open(URL(string:UIApplicationOpenSettingsURLString)!) -
phynet revised this gist
Sep 18, 2016 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,8 +22,11 @@ Sometimes we need to open Setting's Preferences not of our app, but of the iPhon UIApplication.sharedApplication().openURL(NSURL(string:"prefs:root=General&path=Keyboard")!) ##Swift 3.0 This is a work around, but sometimes it crashes. Thanks Xcode 8. UIApplication.shared.open(URL(string:UIApplicationOpenSettingsURLString)!) -
phynet revised this gist
Sep 18, 2016 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -21,6 +21,11 @@ Sometimes we need to open Setting's Preferences not of our app, but of the iPhon ##Swift 1.2 UIApplication.sharedApplication().openURL(NSURL(string:"prefs:root=General&path=Keyboard")!) ##Swift 3.0 This is a work around, but sometimes it crashes. Thanks Xcode 8. UIApplication.shared.open(URL(string:UIApplicationOpenSettingsURLString)!) ##Objective-c -
phynet revised this gist
Aug 25, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ _Apple will reject apps that are using private url schemes (Ugh, Apple....) if t ###***[UPDATE : Not yet tested in iOS 10. It will fail because of policies changes in URL scheme handling.]*** ###***[UPDATE 2:The openURL() method of UIApplication is now deprecated. You should use application(_:open:options:) instead]*** Sometimes we need to open Setting's Preferences not of our app, but of the iPhone itself. What should we do to acomplish this? -
phynet revised this gist
Aug 25, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,6 +3,7 @@ _Apple will reject apps that are using private url schemes (Ugh, Apple....) if t ###***[UPDATE : Not yet tested in iOS 10. It will fail because of policies changes in URL scheme handling.]*** ###***[UPDATE 2:The openURL() method of UIApplication is now firmly deprecated. You should use application(_:open:options:) instead]*** Sometimes we need to open Setting's Preferences not of our app, but of the iPhone itself. What should we do to acomplish this? -
phynet revised this gist
Aug 25, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Sometimes we need to open Setting's Preferences not of our app, but of the iPhon 2.- Later, just write the code with the URL path of the preference needed. In my case was the keyboard path. ##Swift 1.2 UIApplication.sharedApplication().openURL(NSURL(string:"prefs:root=General&path=Keyboard")!) -
phynet revised this gist
Jul 22, 2016 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,11 @@ ###Note _Apple will reject apps that are using private url schemes (Ugh, Apple....) if they are pretty much obvius. Some apps are rejected and others are not, so, be aware of this issue before implementing any of those URL's in your app as a feature._ ###***[UPDATE : Not yet tested in iOS 10. It will fail because of policies changes in URL scheme handling.]*** Sometimes we need to open Setting's Preferences not of our app, but of the iPhone itself. What should we do to acomplish this?  -
phynet revised this gist
Jul 18, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Apple will reject apps that are using private url schemes (Ugh, Apple....) if th 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 : Not yet tested in iOS 10. It will fail because of policies changes in URL scheme handling.]***  -
phynet revised this gist
Jul 18, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Apple will reject apps that are using private url schemes (Ugh, Apple....) if th 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 : Not yet tested in iOS 10. It will fail because of policies changes in URL scheme handling.]***  -
phynet revised this gist
Jul 18, 2016 . 1 changed file with 1 addition and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,9 +4,7 @@ Apple will reject apps that are using private url schemes (Ugh, Apple....) if th 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 : Not yet tested in iOS 10. It will fail because of policies changes in URL scheme handling.]  -
phynet revised this gist
Jul 18, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ ###Note Apple will reject apps that are using private url schemes (Ugh, Apple....) if they are pretty much obvius. Some apps are rejected and others are not, so, be aware of this issue before implementing any of those URL's in your app as a feature. Sometimes we need to open Setting's Preferences not of our app, but of the iPhone itself. What should we do to acomplish this? -
phynet revised this gist
Jul 18, 2016 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,7 @@ ###Note Apple will reject apps that are using private url schemes (Ugh, Apple....) if they are pretty much obvius. Some apps are rejected and others are not, so, be aware of this issue before impleting it in your app as a feature. 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]** -
phynet revised this gist
Mar 11, 2016 . 1 changed file with 10 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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: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=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=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=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 | -
phynet revised this gist
Mar 11, 2016 . 1 changed file with 46 additions and 45 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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:** | 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 | -
phynet revised this gist
Mar 6, 2016 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 [UPDATE]prefs:root=Bluetooth prefs:root=General&path=DATE_AND_TIME prefs:root=FACETIME prefs:root=General -
phynet revised this gist
Mar 6, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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]** -
phynet revised this gist
Mar 6, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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]**  -
phynet revised this gist
Mar 6, 2016 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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]**  @@ -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 [UPDATE]prefs:root=Bluetooth prefs:root=General&path=DATE_AND_TIME prefs:root=FACETIME prefs:root=General -
phynet revised this gist
Feb 18, 2016 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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]  @@ -61,4 +63,5 @@ More info: prefs:root=General&path=Network/VPN prefs:root=Wallpaper prefs:root=WIFI prefs:root=INTERNET_TETHERING prefs:root=PASSBOOK -
phynet revised this gist
Aug 3, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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  2.- Later, just write the code with the URL path of the preference needed. In my case was the keyboard path. ##Swift -
phynet revised this gist
Aug 3, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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  1. You must configure the URL Schemes in your project. You will find it in Target, Info, URL Scheme. Once there, just type **prefs**  2. Later, just write the code with the URL path of the preference needed. In my case was the keyboard path. ##Swift -
phynet revised this gist
Aug 3, 2015 . 1 changed file with 8 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,13 @@ Sometimes we need to open Setting's Preferences not of our app, but of the iPhone itself. What should we do to acomplish this?  1. You must configure the URL Schemes in your project. You will find it in Target, Info, URL Scheme. Once there, just type **prefs**  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:** -
phynet revised this gist
Aug 3, 2015 . 1 changed file with 40 additions and 40 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 -
phynet created this gist
Aug 3, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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:  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