Hello I would like to know if Apple might reject an app during review if there is a navigation from App to settings programatically, as we have seen few stack-overflow links for the same.
The below code will be executed on button press which takes the user to settings.
if let appSettings = URL(string: UIApplication.openSettingsURLString) { UIApplication.shared.open(appSettings, options: [:], completionHandler: nil)
Please let me know if any there is any chance of rejection with the above code.