iOS Question Delay hiding keyboard [SOLVE]

webhost.company

Active Member
Licensed User
Longtime User
When the keyboard appears, the event KeyboardStateChanged perform quickly

But on disappearing, the keyboard, take about 200ms to perform KeyboardStateChanged

Why?

I need that in my chat app, when the user clicks on the send button and the keyboard is hiding, my panel hide synchronose keyboard hiding
 
Try to turn off an animation. Let's say TextField.
In BeginEdit
Code: Copy
Dim no As NativeObject
no.Initialize("UIView").RunMethod("setAnimationEnabled:", Array(False))
In EndEdit
Code: Copy
Dim no As NativeObject
no.Initialize("UIView").RunMethod("setAnimationEnabled:", Array(True))

I did not try, but probably better to do separate subroutine and to use CallSubDelayed
 
Upvote 0
 
Upvote 0
My problem was solved with this solution Thanks
 
Upvote 0
Back
Top