Post marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliessolved.tooltip
Replied In
Context menu in a SwiftUI app?
That's great, so much neater than before!I was able to get images from an Asset Catalog to show up by adding a VStack to the button label: .contextMenu {
Button(action: { print("tapped") },
label: {
VStack {
Image("image_name")
Text("label")
}
})
}or you can use an SF Symbol:VStack {
Image(systemName: "exclamationmark.bubble.fill")
Text("label")
}