Put the complete NavigationLink inside a NavigationStack like so.
struct ContentView: View {
var body: some View {
NavigationStack {
NavigationLink{
ToShow()
} label: {
Image(systemName: "flame")
.resizable()
.frame(width: 150.0, height: 150.0)
}
}
}
}
Post
Replies
Boosts
Views
Activity
For me it started working after going to Settings -> owners(your) account -> Password & Security -> Apple ID logins -> The app you are concerned with -> Stop using Apple ID.This will work till you run it again from XCode, i.e. till you reinstall it. Then you got to do it again.