I need to check if my app is running in full screen mode. Because I have button witch slides out panel, and it should be sliced differently when in full screen. How can I check it?
The window displayed full screen should have NSFullScreenWindowMask set.
See Apple's docs here
For example you could use:
if ([yourwindow styleMask] & NSFullScreenWindowMask) {
....it's full screen
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With