Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable the titlebar close, minimize and zoom buttons in an NSViewController on Mac OS X

How do I disable/enable the titlebar close, minimize and zoom (red, yellow and green) buttons in an NSViewController - preferably from Objective-C/Swift.

I have searched the Storyboard properties but not found anything.

like image 313
Ole Bjørn Setnes Avatar asked Oct 20 '25 17:10

Ole Bjørn Setnes


1 Answers

Yes. you can. Using appearance section windows controller you can do the changes.

enter image description here

like image 50
Im Batman Avatar answered Oct 23 '25 07:10

Im Batman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!