I've moved this gist to https://github.com/phynet/iOS-Schemes please check it there ;)
Last active
September 28, 2024 02:20
-
-
Save phynet/471089a51b8f940f0fb4 to your computer and use it in GitHub Desktop.
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+
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@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:
source: https://kb.acronis.com/content/39368