7

Does anyone know why the primary action of Menus in SwiftUI is not working since iOS 16 beta?

    Menu {
       Button {
          print("action 1")
       } label: {
          Text("Action 1")
       }
    } label: {
       Text("Menu")
    } primaryAction: {
       print("primary")
    }
meinharttom
  • 121
  • 4

0 Answers0