Seeing as contextMenu as been deprecated and they are Menus shown on a long press, how can that be achieved with SwiftUI?
I haven't found a new initialiser for Menu yet to show on a long press or an isPresented argument.
I haven't found a new initialiser for Menu yet to show on a long press or an isPresented argument.
I just saw contextMenu(_:) being deprecated so I assumed that context menus were all deprecated. I didn't see contextMenu(menuItems:) though.
I guess that's fine then since I've never used ContextMenu.
There is still the issue of not having titles in menus and destructive actions in both menus and context menus for SwiftUI.
I guess that's fine then since I've never used ContextMenu.
There is still the issue of not having titles in menus and destructive actions in both menus and context menus for SwiftUI.