This is possible now via Menu - https://developer.apple.com/documentation/swiftui/menu (iOS 14+)
Menus are covered in this WWDC video - https://developer.apple.com/videos/play/wwdc2020/10052/ at ~11:15.
Playground Example:
import SwiftUI
import PlaygroundSupport
		
		struct ContentView: View {
				
				var body: some View {
						HStack {
								// Other views
								Text("Example View 1")
		
								// Button, that when tapped shows 3 options
								Menu {
										Button(action: {
												
										}) {
												Label("Add", systemImage: "plus.circle")
										}
										Button(action: {
												
										}) {
												Label("Delete", systemImage: "minus.circle")
										}
										Button(action: {
												
										}) {
												Label("Edit", systemImage: "pencil.circle")
										}
								} label: {
										Image(systemName: "ellipsis.circle")
								}
						}
						.frame(width: 300, height: 300, alignment: .center)
				}
		}
		
		PlaygroundPage.current.setLiveView(ContentView())
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: