Exit PreferencePane Plugin


/ Published in: Objective C
Save to your folder(s)

If you're writing a preference pane and you'd like to exit back to the main System Preferences view, just use this code.


Copy this code and paste it in your HTML
  1. NSAppleScript *script = [[NSAppleScript alloc] initWithSource:@"tell application \"System Preferences\" to set show all to true"];
  2. [script executeAndReturnError:nil];

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.