Post

Replies

Boosts

Views

Activity

Reply to Exiting "kiosk" mode on Ventura Beta mouse controls don't work.
We too have encountered something similar on Ventura Beta 11 and Xcode 14.1 Beta 3, but which works perfectly on older macOS versions. In our case, we are setting an NSWindow's contentView to a NSHostingView to host a SwiftUI view. Full-screen kiosk mode is successfully invoked via enterFullScreenMode(...), but when later calling exitFullScreenMode(...) we found this did not work. With some debugging, it appears that contentView becomes nil after full-screen kiosk mode is invoked. I've worked around this by storing the contentView in a temp var before invoking kiosk mode, then later checking if contentView is nil - and if so set contentView = temp var - before calling exitFullScreenMode.
Oct ’22