Post

Replies

Boosts

Views

Activity

Reply to Context Menu Destructive Actions, SwiftUI
use role: .destructive when creating the button. eg Button(role: .destructive) { } see https://www.hackingwithswift.com/books/ios-swiftui/creating-context-menus
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’22