Post

Replies

Boosts

Views

Activity

SwiftUI iOS 14 beta TextField 100% CPU
Using iOS 14 and Xcode 12.0 beta 6 if I try and use a simple TextField anywhere import SwiftUI struct ContentView: View {   @State private var name: String = "Tim"   var body: some View {     VStack {       TextField("Enter your name", text: $name)       Text("Hello, \(name)!")     }   } } the keyboard opens but then the CPU goes to 99%/100% and app is frozen. Is this a known issue? How do I fix it?
11
0
3.7k
Sep ’20