Instance Method


Hides all applications other than the sender.


- (void)hideOtherApplications;


The user can hide all apps except the current one by Command-Option-clicking on an app’s Dock icon.

This method must be called from your app’s main thread.

See Also

Manipulating Applications

- launchApplication:

Launches the specified app.

- launchApplication:showIcon:autolaunch:

Launches the specified app using additional options.

- launchApplicationAtURL:options:configuration:error:

Launches the app at the specified URL.


The following keys can be used in the configuration dictionary of the launchApplicationAtURL:options:configuration:error: method. Each key is optional, and if omitted, default behavior is applied.