I'm having issues with TextField and any text entry in Swift. Clicking into a text entry field results in an "Unable to simultaneously satisfy constraints" warning with a huge number of unsatisfied constraints. This happened even on the simplest of content:
struct ContentView: View {
@State private var textEntry : String = "Hello World"
var body: some View {
return VStack {
Text(self.textEntry)
.padding()
.id("plain text 1")
TextField("Enter New Text Here", text: self.$textEntry)
.id("text Entry 1")
}
.id("Hello World 1")
}
}
Has anyone else had this issue?
Thanks!
AMJ
Post
Replies
Boosts
Views
Activity
I installed xcode 12 today. I have code written in swiftUI (5) for ios and macCatalyst and compiling and working in xcode11.7 (debug and release mode). In xcode 12 it compiles in debug mode but in release mode it returns a segmentation fault 11.
Any idea why this would happen?