We have a requirement where we have to navigate user to specific section (Passwords) in device settings on tap of a button. I've seen other popular apps doing it & also seen some solutions where people provided an option of using "App-prefs". But as per documentation, this is a private API. What is the solution here if I want to open specific section in device settings without taking a chance of my app getting rejected while submission process?
How to navigate user to specific device settings programatically?
What is the solution here if I want to open specific section in device settings without taking a chance of my app getting rejected while submission process?
You present a message that says "go to the Passwords section of the Settings app". Most users can manage to do that without tripping over their own shoelaces.
Sure, a button that goes directly there would be nice, but it's not going to happen. In practice, apps don't seem to be rejected for doing this using the private URL scheme - and a rejection is not the end of the world. Your choice.
What endecotp said plus…
For anyone reading along at app, see Supported URL Schemes.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"