Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
PSURLManager - iPhone Development Wiki

PSURLManager

From iPhone Development Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

PSURLManager is the class that manages and processes Preferences URLs. It has been available since iOS 13.0.

Jumping to a Preferences URL within the Settings app

NSURL *exampleURL = [NSURL URLWithString:@"prefs:root=APPLE_ACCOUNT"];
[[objc_getClass("PSURLManager") sharedManager] processURL:exampleURL animated: YES fromSearch:NO withCompletion:nil];