Posts

Post marked as solved
12 Replies
I have been trying to make a custom NavigationView that has a ScrollView inside,just updated to beta 4, and am still having the same issue here.All kinds of buttons(NavigationLink, PresentationLink—.sheet now instead—, Button, .navigationItems, ...) make any objects in itself blue(unless .foregroundColor is set differently, I guess).It is very problematic for Images especially.The workaround I am using currently is that I make the same-sized object, make that a button, and put that inside ZStack with the original one.So, instead of this:NavigationLink(destination: AView()){ Image("a") .resizable() .frame(width: 10.0, height: 10.0)}I write like this, for now:ZStack{ Image("a") .resizable() NavigationLink(destination: AView()){ Rectangle() .hidden() //or .opacity(0) }}.frame(width: 10.0, height: 10.0)Very ugly indeed.Hope it will get fixed soon.