Instance Property

activationPolicy

Indicates the activation policy of the application.

Declaration

@property(readonly) NSApplicationActivationPolicy activationPolicy;

Discussion

The value returned by this property is usually fixed, but it may change through a call to activateWithOptions:.

This property is observable using key-value observing.

See Also

Activating Applications

active

Indicates whether the application is currently frontmost.

- activateWithOptions:

Attempts to activate the application using the specified options.

NSApplicationActivationPolicy

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