Hi,
Is there a way to provide input from a spm package plug-in, from the host app that integrates it ?
I see there is no way to access the host target (although the plugin has access to the package target).
Is that possible with the current status quo ?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi guys,
I'm getting a weird navigation side effect (a half screen grey view) when moving from one view to another.
Here's the code:
@State var text: String = ""
var body: some View {
NavigationView {
VStack {
TextField("TextField", text: $text)
NavigationLink {
Text("Yellow view")
.frame(maxWidth: .infinity, maxHeight: .infinity)
.background(Color.yellow)
Spacer()
} label: {
Text("Yellow view")
}
Spacer()
}
}
Text("Bottom View")
.frame(maxWidth: .infinity, maxHeight: 60)
.background(Color.red)
}
}
And here's what I'm seeing:
Is there any way to fix it, without moving the red view inside the NavigationView hierarchy ?