Contents

yieldActivation(to:)

Explicitly allows another app to make itself active.

Declaration

func yieldActivation(to application: NSRunningApplication)

Parameters

  • application:

    The app to yield activation state to.

Mentioned in

Discussion

Calling this method doesn’t deactivate the yielding app, nor does it activate the app you yield to. For cooperative activation, the other app must request activation in the future by calling activate() or equivalent.

See Also

Activating and deactivating the app