سؤال

  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