How to capture right click in a MacCatalyst app?

1k views Asked by At

How can I present a context menu or even better a iOS Popover controller when right clicking in a MacCatalyst app? Right now I have it set up for long presses, not that doesn't feel right on a desktop app.

1

There are 1 answers

0
刘德苏 On

https://developer.apple.com/design/human-interface-guidelines/ios/controls/context-menus/ We use this to develop right click menus with MacCatalyst