How to handle AppWindow closing event before close window on MacOS? #20139
Unanswered
AllenMiaoFil
asked this question in
Q&A
Replies: 1 comment
-
AFAIK there's not really a way to do this from Catalyst You'll have to dip down into the AppKit layer and tie into windowshouldclose https://developer.apple.com/documentation/appkit/nswindowdelegate/1419380-windowshouldclose |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hey Team,
I got a question about how I could handle closing event when we clicked close application button on MacOS,
I know there is a closing event when we click 'Close Window' on Windows like below code
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
7.0.101
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
Beta Was this translation helpful? Give feedback.
All reactions