Link to iOS device settings
Monte Goulding
monte at appisle.net
Thu Nov 2 17:47:32 EDT 2017
Based on that SO discussion you should be able to use launch url. It looks like the url scheme changed from `prefs:` to `App-Prefs:` in iOS 10. So you might want to try one then the other.
So:
launch url “App-Prefs:root=NOTIFICATIONS_ID&path=<app bundle id>”
if the result is “no association" then
launch url “prefs:root=NOTIFICATIONS_ID&path=<app bundle id>”
end if
> On 3 Nov 2017, at 7:57 am, Andrew Bell via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Is it possible from a LiveCode app to link to the iOS device Settings? I would like to help users enable Push Notifications if they didn't the first time the app was launched, and rather than just describe where it is I'd like to jump to the Settings app.
>
> Seems to be doable in native programming languages:
> https://stackoverflow.com/questions/5655674/opening-the-settings-app-from-another-app
>
> --Andrew Bell
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list