applicationDidHide(_:)
在隐藏App之后,由默认通知中心(default notification center)发送。
SDK : macOS 10.0+
声明
optional func applicationDidHide(_ notification: Notification)
参数
aNotification
名为didHideNotification的通知。调用此通知的object方法将返回NSApplication对象本身。
其他内容
隐藏App
● func applicationWillHide(Notification)
在隐藏App之前,由默认通知中心(default notification center)发送。
● func applicationWillUnhide(Notification)
在取消隐藏App之前,由默认通知中心(default notification center)发送。
● func applicationDidUnhide(Notification)
在取消隐藏App之后,由默认通知中心(default notification center)发送。
相关文档
● func unhide(Any?)
将隐藏的窗口恢复到屏幕并使接收器处于活动状态。