1

When only a single interface is shown, is it possible to set an action when the top title is tapped? image

Dávid Pásztor
  • 51,403
  • 9
  • 85
  • 116

1 Answers1

0

You did tried to add a simple action to your button, like this?

    Button(action: {
            //add your action
        }, label: {
            Text("End")
                ...
        })
Iskandir
  • 937
  • 1
  • 9
  • 21
  • The think is that I need to have a scrollable group and the top button (the title) needs to be static and hovering the scrollable group. From my research this is possible only with the title from the system, but unfortunately, I can't override it with a different action than dismissing the current interface. Thanks! – Adrian Plapamaru Apr 15 '22 at 15:34