Your app uses the “prefs:root=” non public URL scheme. Best plan to update old code?

Your app uses the “prefs:root=” non public URL scheme. Best plan to update old code?

Content Index :

Your app uses the “prefs:root=” non public URL scheme. Best plan to update old code?
Tag : ios , By : Eniac
Date : November 29 2020, 04:01 AM

wish helps you
I'm getting a Type 'UIApplication' has no member 'openSettingsURLString'
let url = URL(string: UIApplication.openSettingsURLString)!
let url = URL(string:UIApplicationOpenSettingsURLString)!

No Comments Right Now !

Boards Message :
You Must Login Or Sign Up to Add Your Comments .

Share : facebook icon twitter icon

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: here
Note: 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

Tag : objective-c , By : DaveF
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

Tag : ios , By : yossi
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!) {
guard let settingsUrl = URL(string: UIApplicationOpenSettingsURLString) else {
  if UIApplication.shared.canOpenURL(settingsUrl)  {
    if #available(iOS 10.0, *) {
      UIApplication.shared.open(settingsUrl, completionHandler: { (success) in
    else  {
Related Posts Related QUESTIONS :
  • RAM, JSC, Views, UI and JS usage table appearing whenever I launch my react native app. How to remove this table?
  • Change status bar background color using UIStatusBarManager
  • Should we make tapGesture component an IBAction or IBOutlet to capture the tap event?
  • Iframe automatically goes full screen using Ionic 3.9.2 on iOS
  • How to calculate score out of 1000 given some seconds (In Double)
  • How to calculate time (minutes) between two dates in swift?
  • There was problem loading requested app.it looks like you may be using LAN URL
  • Swift circular corners doesn't work properly on different screen sizes
  • How change .navigationBarTitle font in SwiftUI?
  • What happens if `MPSCNNConvolutionDataSource` protocol's `load` method return false?
  • Why does the UIBarButtonItem not show up when I create it with code?
  • How to prevent following view controller inheriting navigation view controller bar?
  • What does it mean when .xcodeproj files are shown in red in Xcode?
  • Xcode SwiftUI how to scroll the Preview Canvas?
  • Expand tableview and increase scrollview content size by an appropriate difference on clicking a button inside a table c
  • xcodebuild failed with return code: 65 - using CLI/Appcenter but no error messages
  • "'isDeveloperModeEnabled' is deprecated: This no longer needs to be set during development. " What is isDevelo
  • Right click in UIKit for Mac
  • How we Support Dark Mode in Current iOS App with iOS 13?
  • Security vulnerablility issue in ios mobile app
  • How to set a background color for the viewController in swiftUI?
  • SwiftUI : Segue navigation
  • iOS 13 Custom UISearchBar _searchField crash
  • USDZ models have holes in SceneKit but not QuickLook
  • Why does iOS Password Autofill not prompt to save password on keychain?
  • Pushing information to firebase after event is created(Firebase-Realtime-Database)
  • Xcode 11 Beta and Carthage bootstrap
  • How to change the status bar background color and text color on iOS 13?
  • Using Core Data with SwiftUI
  • How should I do to wait all the data downloaded completely and show on TableView?
  • Can we specify the number of rows that can be shown in each section of a collection view
  • Why sometimes completion handler not called?
  • Protocol 'View' can only be used as a generic constraint because it has Self or associated type requirements
  • In UIKit we can set label.numberOfLines = 0 when we do not know how many lines the text will take? What is the alternati
  • Swift ISO8601 format to Date returning fatal error
  • SwiftUI Login Page Layout
  • Xcode: Could not locate installed application. Install claimed to have succeeded, but application could not be found on
  • See the TestFlight crash log in the Xcode
  • Why does zero UIView's CALayer.speed stops UIAlertController's buttons from working?
  • Firestore collectionGroup query returns empty result
  • Modify text in SwiftUI
  • CNCopyCurrentNetworkInfo with iOS 13
  • WWDC 2019 - iOS13 April 2020 requirement
  • Nativescript IPhone X - How to "hide" home indicator behind two swipes to go to home screen
  • Should I use a singleton location manager in Swift?
  • Accessibility problem in reusable TableViewCell
  • Remove top line containing Done button from Keyboard Using Storyboard or in Swift
  • Swift Storyboard - Centring an Icon and multi-line text horizontally
  • viewDidAppear is delayed by 0.5 sec
  • Pass URL values to SecondView Controller WebView (WKWebView)
  • How to upload images faster on iOS, when using takePictureAsync?
  • Tableview multiple sections with one floating header
  • UITextView: Huge Memory Usage
  • How to put a logo in NavigationView in swiftui?
  • How can I load an UIImage into a SwiftUI Image asynchronously?
  • How to remove highlight on tap of List with SwiftUI?
  • how to use customized toolbar in multiple viewcontroller without repeating the code and copying the elements (swift)?
  • iPhone 7 simulator is not found on Xcode 11 beta
  • SwiftUI view is in the middle instead of in the top
  • How to get iOS 12 Autofill to ask to save password in React Native app?
  • shadow
    Privacy Policy - Terms - Contact Us © scrbit.com