Enumeration

NSApplicationActivationPolicy

Activation policies (used by activationPolicy) that control whether and how an app may be activated.

Declaration

typedef enum NSApplicationActivationPolicy : NSInteger {
    ...
} NSApplicationActivationPolicy;

Topics

Activation Policies

NSApplicationActivationPolicyRegular

The application is an ordinary app that appears in the Dock and may have a user interface.

NSApplicationActivationPolicyAccessory

The application doesn’t appear in the Dock and doesn’t have a menu bar, but it may be activated programmatically or by clicking on one of its windows.

NSApplicationActivationPolicyProhibited

The application doesn’t appear in the Dock and may not create windows or be activated.

See Also

Configuring the Activation Policy

- activationPolicy

Returns the app’s activation policy.

- setActivationPolicy:

Attempts to modify the app’s activation policy.