-
How do I customize the app delegate in a Uno Platform app to handle menu bar events on macOS? Can I just create my own AppDelegate class? |
Beta Was this translation helpful? Give feedback.
Answered by
jaigak
Sep 6, 2021
Replies: 1 comment 1 reply
-
I was able to add the required methods in the shared app class and export it as an action however I needed to put it inside an #if statement so it won't be compiled for other platforms. This is fine however it also leads to code duplication. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jaigak
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was able to add the required methods in the shared app class and export it as an action however I needed to put it inside an #if statement so it won't be compiled for other platforms. This is fine however it also leads to code duplication.