Skip to main content

All Questions

2 votes
1 answer
100 views

Can’t make a button tappable parallel to navigationTitle

The button is not tappable as I move it to the extended line of the title. If I move it to somewhere else, it works but I want to place it on the line of Title. But whenever I do it, it does not ...
YJ Kim's user avatar
  • 31
0 votes
2 answers
143 views

How do I make my text navigate me to a subpage?

I have the text "Groups" and I want to use NavigationLink to connect it to my GroupsPage subpage and take the user there when they click the Groups text. Edit: This is how it looks with the ...
AppleDev3's user avatar
0 votes
2 answers
107 views

Using sheet for presenting different views on 2 buttons actions are presenting view incorrect view

enum ActiveSheet: Identifiable { case first, second var id: Int { return hashValue } } struct ContentView: View { @State var activeSheet: ActiveSheet? var body: some ...
Kunal's user avatar
  • 3
0 votes
1 answer
180 views

How do I make buttons lead to other buttons in SwiftUI?

My code currently shows two buttons next to each other, one button being countries and the other being states. I want to make it so that once a button is pressed, a new set of buttons will appear. For ...
Swifty's user avatar
  • 45
2 votes
1 answer
1k views

iOS | SWIFTUI | Buttons don't work in the HStack | How can I fix this, Is there a workaround.?

I have attempted and searched quite a bit of stackOverflow and other places while there are some questions similar, they tried to change the style of the button to Plain of Default, I tried those ...
Vivek Pattanaik's user avatar