activate()
Activates the receiver app, if appropriate.
Declaration
func activate()Mentioned in
Discussion
Use this method to request app activation; calling this method doesn’t guarantee app activation. For cooperative activation, the other app should call yieldActivation(to:) or equivalent before the target app invokes activate().
Invoking activate() on an already-active application cancels any pending activation yields by the receiver.