Closed ldrr closed 9 years ago
@ldrr Thanks for the contribution! Could you make this animation configurable?
Because the animation duration and curve is defined by UIKit it's not necessary to configure the animation itself. It should animate like the appearance and disappearance from the keyboard itself.
That's great. I meant more specifically a way to specify whether the animation should happen at all.
To be honest: no, absolutely not. Why should anyone turn off the animation when the keyboard appearance animation is turned on by UIKit? You can turn off animations with
[UIView setAnimationsEnabled:NO];
Than the keyboard animation is turned off and the resizing will happen immediately.
Hi @dlo, as you requested I added the animation option via protocol definition.
Thanks!
removed warning and added animation