Responding to "Hide Others" Mac OS X
I am looking for a notification or callback that is similar to NSWorkspaceDidHideApplicationNotification
for when a user chooses "Hide Others" in any running application. I was wondering if anyone knows of an api or has some advice in detecting the "Hide Others" action in any appli开发者_Go百科cation.
Your app delegate gets applicationWillHide:
and applicationDidHide:
whenever your application hides, no matter what caused it.
精彩评论