Piotr
Piotr

Reputation: 1753

UIView inputView slide animation

  1. I've got UIView (implementing UIKeyInput) with custom inputView. I want to display this inputView as soon as whole view is visible, however there's slide animation after it's becoming first responder. Can I disable this animation and show inputView right away?

  2. I am able to move this inputView up and down when I am doing long press on it. How can I disable it?

Thanks!

Upvotes: 0

Views: 592

Answers (2)

Finn
Finn

Reputation: 11

Actually, you can use [UIView setAnimationsEnabled:NO] to disable the default animation before you call becomeFirstResponder.

Upvotes: 1

Piotr
Piotr

Reputation: 1753

I didn't find any way to accomplish this. However converting inputView to childViewController was straightforward and it hasn't got any limitations.

Upvotes: 0

Related Questions