i use uitextview to show some text, but i have use some animation too. During this animation appear I want to disable the keyboard but not hide it. I tried to use self.textview.userInteractionEnabled = NO;, self.textview.editable = NO;, and also [self.textview resignFirstResponder]; but it still make the keyboard hide, and also make my animation didn’t show the right animation.
Can somebody give me suggestion?
Thank You
Declare
(BOOL)isAnimatingand set it toYESwhen the animation begins and set it toNOwhen the animation end. Then implement the following:The keyboard stays up and nothing happens in the textfield when the animation is running. After it ends, everything goes back to normal.