Xcode model: 15.2 (15C500b)
iOS model: 17.2.1 (though within the final two updates earlier than this one as properly)
My system: iPhone 12
Simple to breed for me:
- Create a brand new iPhone App mission utilizing Xcode
- Write some code like this:
import SwiftUI
struct ContentView: View {
@State var textual content: String = "";
var physique: some View {
VStack {
Textual content("Howdy, world!")
TextField("Faucet me", textual content: $textual content)
.padding()
.background(Coloration(.systemGray6))
.cornerRadius(10)
.padding(.horizontal, 20)
.keyboardType(.numberPad)
}
.padding()
}
}
#Preview {
ContentView()
}
- Run this in your actual iPhone and faucet on the TextField
I get a 1 to 2 second delay earlier than focus, the cursor and the looks of the keypad point out that I can now kind one thing. I additionally get this error on Xcode’s console: <0x101e0bac0> Gesture: System gesture gate timed out.
I attempted it with 2 textfields and when you expertise the delay on the primary faucet, you possibly can then change between them immediately. Curiously, this does not appear to occur on the simulator in any respect.
Anybody know what that is about and learn how to repair it?