问题
I'm looking for either a setting option of NSWindow
in XIB editor or via programmatically take I can disable the fullscreen mode feature in OS X when the user clicks the zoom button (green traffic light), as it does not work well with my UI design. (Instead, use it for normal window zooming.)
Anyone can give me some hints where to look for?
回答1:
Here's what I figured out.
To change the behavior of the zoom button to normal window zooming (not by hiding the button), change the window to "Auxiliary" will do.
Attributes Inspector > Full Screen > Auxiliary Window
If there's a better answer to this, I'd be more than happy to accept that as the correct answer.
来源:https://stackoverflow.com/questions/33457029/osx-disable-fullscreen-mode-from-the-zoom-button