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!

有帮助吗?

解决方案 2

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

其他提示

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top