Post

Replies

Boosts

Views

Activity

NavigationLink and CustomStyle BackButton
Hi Guys, sorry if I am writing some nonsense, but I am just starting to create apps in Swift. I'm creating an app just for AppleWatch and I don't want to use the default backbutton that appears with navigationLink. How can I change the appearance? I'll put a diagram of my code here: NavigationStack { VStack { NavigationLink(...) { HStack { ... } } .buttonStyle(PlainButtonStyle()) .frame(height: 80) .foregroundColor(.black) .fontWeight(.bold) .tracking(-0.5) } } Everything I find on the Internet is for navigationView which I read is deprecated. I found again on google a site that recommends using .toolbar, but the button does not change. What am I doing wrong? What can I do? Thanks
0
0
164
Nov ’23