Post

Replies

Boosts

Views

Activity

How to prevent keynote from exiting fullscreen?
I am making a macOS app in Swift and the window of my app is always on top of other apps. This is working fine with all apps even if those apps are in full-screen mode. However, when Keynote runs in full-screen mode and my app is on top of it, all the mouse events meant for my app also go to keynote and it exits fullscreen.I am not sure what's going on but I need to prevent keynote from exiting full-screen. How can I do that?The window level of my app is `NSWindow.Level.popUpMenu`. And, I have tried the following but nothing has worked so far:window.orderFrontRegardless() window.makeKeyAndOrderFront(self) window.order(.above, relativeTo: 0)
2
0
841
May ’20