I've moved this gist to https://github.com/phynet/iOS-Schemes please check it there ;)
-
-
Save phynet/471089a51b8f940f0fb4 to your computer and use it in GitHub Desktop.
There's no solution for iOS 10 in access OS Settings yet.
@phynet If here is not solution for iOS 10 how did you
@phynet is there one for opening/launching ApplePay/Wallet in iOS 10? Prefs:root=PASSBOOK opens the settings for Wallet & Apple Pay and not the actual screen to make a payment.
@phynet nevermind, it turns out that to open the Wallet you need to use the app's scheme which is shoebox://
shoebox:// confirmed working on iOS 10.1. I would need something similar for opening network settings. Great discovery, no official release yet.
since apple have no bluetooth option in per-app settings, I got a sample for opening bluetooth sample of the URL
which is objective c only
https://gist.github.com/johnny77221/bcaa5384a242b64bfd0b8a715f48e69f
Thanks @luismadrigal for the info, I will update the list when tested for objective-c (shoebox://)
Also, @jonny77221 I will check it out your contribution :D
@phynet any update
No url for Battery?
Battery: "Prefs:root=BATTERY_USAGE"
Siri: "Prefs:root=SIRI"
Using App-Prefs
instead of just prefs
is working in IOS 10.2. However i'm not sure if apple approves this or not.
App-Prefs is working in IOS 10.2
Thank you all for the collaboration. I've tested App-Prefs
and it's working for Swift 3. You have the updated file now 💃
Can you help me with this? I'm trying to write a workflow that jumps into the notifications settings for all my work apps in sequence so I can easily enable my work notifications at the start of each day. I've tried the following URL schemes but the only get me into the notifications, they don't go the extra step of opening the settings for the specified apps...
App-prefs:root=NOTIFICATIONS_ID&path=com.microsoft.lync2013.iphone
App-prefs:root=NOTIFICATIONS_ID&path=com.microsoft.Office.Outlook
i found the Bundle Name (?) using the app store look up url ex http://itunes.apple.com/lookup?id=
Can someone tell me what I'm doing wrong?
@andrewminchew you are in the right track. I've tested the scheme with an app that HAS notifications enabled (maybe that's the problem you have) and did open the notifications for that app. You need the bundleID pasted in path...
UIApplication.shared.openURL(NSURL(string:"App-prefs:root=NOTIFICATIONS_ID&path=com.microsoft.Office.Word")! as URL)
Finding an app's bundle identifier of any app:
Find the app you are looking for on the Apple AppStore. For this example, we’ll use Yelp: https://itunes.apple.com/us/app/yelp/id284910350?mt=8
Copy the app ID number. It’s just the numbers after the text “id” and before the “?”. So in this case, it is: 284910350.
Paste that ID number into this URL:
https://itunes.apple.com/lookup?id=284910350
This will download a file 1.txt
Search the output you get back for “bundleId”. The app’s bundle ID will be listed there: com.yelp.yelpiphone
How can I use this schemes in Safari?
I tried to open link App-Prefs://root=General in Safari, and got:
Safari cannot open the page because the address is invalid.
@2Grey yo want to open a scheme from a safari website or navigator oriented app ? that's a little more complicated. I've never tried that, so I can't tell you how to do it. Let's hope someone else can help you with this.
Thank you for your colaboration @deanlyoung. I've updated the gist ;)
Will my app be rejected if I upload to app store. Also does this work with ios 14+
any solution for iOS 10?