UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

Gesture: System gesture gate timed out.

Forums > SwiftUI

I'm currently learning to program and I've set myself a small app as a project. The app scans the ISBN code of a book using the tablet's camera, compares the code with the Google Books API and displays selected information in a form. The fields are TextFields so that additional data can be entered. These books are then stored in a database. However, I am now faced with a problem: Every time I try the app on the iPad and click on an input field (e.g. it should be possible to assign an individual topic to each book), I receive the following error message in the console:

"<0x102605330> Gesture: System gesture gate timed out."

It then takes about 1 second until the cursor appears and I can enter something. If I close the input and type again in a field, the cursor appears immediately and the following error message appears in the console:

"-[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID"

Can anyone help me find out what the problem is and what I can do about it?

3      

I'm having a similar problem on a pretty basic project setup. My main issue is that it takes a second or two for the TextField to come into focus once I've tapped on it on my phone. I also get this error: <0x101e0af70> Gesture: System gesture gate timed out.

Here's my example with a SwiftUI project set up to use my iPhone when testing. I got some code in ContentView like this:

import SwiftUI

struct ContentView: View {
    @State var text: String = "";

    var body: some View {
        VStack {
           Text("Hello, world!")

           TextField("Pick a time", text: $text)
              .padding()
              .background(Color(.systemGray6))
              .cornerRadius(10)
              .padding(.horizontal, 20)
              .keyboardType(.numberPad)
        }
    }
}

2      

Anyone ever figure out what's going on here?

1      

I too am experiencing this issue, and don't know how to resolve

1      

@ejdev  

I fieldfield especially when I use the simulator is not showing up. Also got this issue written in my console: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable.

   

Hacking with Swift is sponsored by RevenueCat.

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Click to save your free spot now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.