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?
Post
Replies
Boosts
Views
Activity
I am seeing the same bug I had 5 years ago, where trying to use the Keychain (SecItemAdd and SecItemCopyMatching specificallY) gives me the dreaded -34018 error.
I used to solve it by adding the Keychain Sharing hack, but now it doesn't work. Possibly as I don't have any other targets in the project, I'm not sure.
Anyone else seen it in newer OS's?