Hi, I've added a button within my app which when the user presses, i'd like them to be navigated to the IOS settings page.
I have found the following guidance on stack overflow
------You can open settings app programmatically in iOS8, but not in earlier versions of iOS.
In Swift:
Code: Select all
UIApplication.sharedApplication().openURL(NSURL(string:UIApplicationOpenSettingsURLString)!); In Objective-C
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
-------I've tried to link to it by adding the following javascript to the button click
window.open('UIApplicationOpenSettingsURLString');
which doesn't work.
How should I be adapting this code to open the IOS settings page in Appery?
kind regards
Paul