Disable Keyboard slide effect

is there a declare or something that will disable the keyboard slide in/out effect?
I want the keyboard to just appear or vanish instantly with no animation

Maybe google it? The answers are all there…
http://stackoverflow.com/questions/1851566/display-keyboard-without-animation

[quote=283889:@Jason King]Maybe google it? The answers are all there…
http://stackoverflow.com/questions/1851566/display-keyboard-without-animation[/quote]
Since you know the answer, why do you not post the declares?

[quote=283889:@Jason King]Maybe google it? The answers are all there…
http://stackoverflow.com/questions/1851566/display-keyboard-without-animation[/quote]
Jason, you should know by now, that I do not ask questions lightly here, I spent quite a bit of time looking, and in the future you can assume the same

plus that method was deprecated by Apple in iOS 4, but thanks

[quote=283897:@Dave S]Jason, you should know by now, that I do not ask questions lightly here, I spent quite a bit of time looking, and in the future you can assume the same

plus that method was deprecated by Apple in iOS 4, but thanks[/quote]
Sorry, your questions are indeed usually well researched with no easy solution. It just seemed like this one had a faster solution since I thought I found it on google with a quick search.

Anyway, did you check the second answer in the link? It has updated code which says it should work for iOS 8+. The accepted answer to the question is indeed wrong.

Dave usually uses objective-c/swift anyway, and I don’t have the time to do that.

I did, and it removes the “animation”, and replaces with a brief “flash”, while the animation is not desireable, it certainly is less distracting than the keyboard flashing…

I don’t think you can do what you’re talking about in current versions of iOS.

[quote=283932:@jean-paul devulder]hi Dave,

Possible if you use a IOSControl

demo here: [/quote]
that is basically what I was doing, try it with multiple textfields, the keyboard flashes when it appears, and still animates when it disappears.

[quote=283932:@jean-paul devulder]hi Dave,

Possible if you use a IOSControl

demo here: [/quote]
This will introduce problems as you replace the delegate that is been set within the Xojo framework. You should subclass your delegate from their class instead of NSObject.

Is there an equivalent of NSAnimatiinContext on iOS?