WatchOS set title action

115 views Asked by At

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

1

There are 1 answers

1
Iskandir On

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

    Button(action: {
            //add your action
        }, label: {
            Text("End")
                ...
        })