activate(options:)
Attempts to activate the application using the specified options.
Declaration
func activate(options: NSApplication.ActivationOptions = []) -> BoolParameters
- options:
The options to use when activating the application. See Activationoptions for the possible values.
Return Value
true if the application was activated successfully, otherwise false.
Discussion
This method will return false if the application has quit, or is not a type of application than can be activated.