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: Difference between revisions - iPhone Development Wiki

PSURLManager: Difference between revisions

From iPhone Development Wiki
(Created page with "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 == <sourc...")
 
mNo edit summary
 
Line 6: Line 6:
[[objc_getClass("PSURLManager") sharedManager] processURL:exampleURL animated: YES fromSearch:NO withCompletion:nil];
[[objc_getClass("PSURLManager") sharedManager] processURL:exampleURL animated: YES fromSearch:NO withCompletion:nil];
</source>
</source>
{{occlass|library=Preferences.framework|navbox=on}}

Latest revision as of 07:49, 4 September 2023

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];