URL scheme "prefs:root=PASS" iOS10
Tag : ios , By : Kilimanjaro
Date : March 29 2020, 07:55 AM
this one helps. Since iOS 10, it's not possible to open the Settings app from a third party app. The only settings that are allowed to be opened are Keyboard setting but only by a custom keyboard extension and your own application settings. More details: hereNote: Even for iOS 9, using the URL string that is mentioned in the question can lead to app rejection as it violates iOS App Review Guidelines.
|
My app rejected because uses the "prefs:root=" non-public URL scheme
Tag : xcode , By : Sumedh
Date : March 29 2020, 07:55 AM
This might help you Apple's message is pretty clear. There is only one legal way to open Settings, and that is to use UIApplication.openSettingsURLString.
|
The “prefs” URL Scheme not working in iOS 10
Date : March 29 2020, 07:55 AM
|
IOS 11 / "Apps-prefs=root" function not working after update to Swift 3
Tag : ios , By : Ir0nh1de
Date : March 29 2020, 07:55 AM
|
ios app store rejection - Your app uses the "prefs:root=" non-public URL scheme
Date : March 29 2020, 07:55 AM
around this issue I faced the same rejection form Apple and to open app settings i was using the below code and it's not accepted on iOS11. let url = URL(string : "prefs:root=")
if UIApplication.shared.canOpenURL(url!) {
UIApplication.shared.openURL(url!)
}
guard let settingsUrl = URL(string: UIApplicationOpenSettingsURLString) else {
return
}
if UIApplication.shared.canOpenURL(settingsUrl) {
if #available(iOS 10.0, *) {
UIApplication.shared.open(settingsUrl, completionHandler: { (success) in
})
}
else {
UIApplication.shared.openURL(settingsUrl)
}
}
|