I was looking for a workaround to use openURL in iOS 10 to open the settings App with a string like this: prefs:root=SOMETHING
Finally I found this solution which uses a "grey API" which I think is just a private API using the runtime headers of LSApplicationWorkspace.
I tried to get it working also regarding this post but I'm not able to compile it without any errors.
Does anybody know how to use this LSApplicationWorkspace code:
//url = "prefs:root=SOMETHING"
[[LSApplicationWorkspace defaultWorkspace] openSensitiveURL:url withOptions:nil];
I'm always getting multiple errors compiling the header file saying: unknown type name followed by for example: "LSInstallProgressDelegate" but maybe there is a better way of using this code and the "grey API" in general. I'm fine using private API, due to the fact that this is a in-House App.