applicationWillResignActive(_:)
Tells the delegate that the app is about to become inactive and will lose focus.
Declaration
@MainActor optional func applicationWillResignActive(_ notification: Notification)Parameters
- notification:
A notification named Willresignactivenotification. Calling the Object method of this notification returns the
NSApplicationobject itself.