I am unable to use the hardware keyboard to enter text in text fields when using Xcode 12 live previews.
Same issue with all preview devices. Running on macOS 10.15.5.
Is there an option I am missing or a workaround for this?
Same issue with all preview devices. Running on macOS 10.15.5.
Is there an option I am missing or a workaround for this?
Code Block import SwiftUI struct ContentView: View { @State private var text = "" var body: some View { Form { TextField("Write something", text: $text) } } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } }
-
—
gpmac
-
—
J7mbo
Add a CommentHey, just got the exact same issue with xcode 13.2 live preview on iMac running macOS 12.1.
Can't find similar issues reported on the forums. Am I the only one getting this issue ? Is there a known fix or workaround ?
@gpmac You're not the only one, another thread here: https://developer.apple.com/forums/thread/650365?answerId=698512022#698512022.