Opening Settings via URL on iOS 15.4

We use a web page to distribute Configuration Profiles. To make the profile installation experience a little easier, we provide a button to open up the Settings application using

function redirect() {
        try {
            window.location.href='App-prefs://prefs:root=Settings';
        } catch (error) {
            alert(error);
        }     
}

This has worked well till iOS 15.4, in which we get an 'Invalid URL' error.

I understand that Apple does not permit using these URLs in an App Store applications but there is nothing against it for simple web URLs. Is this a bug or an intended change in having these URLs not work?

Add a Comment