PDA

View Full Version : Non-animated keyboard




floyde
Jun 20, 2009, 03:15 PM
Ok, I realize that this is one of those "google is your friend" topics, but I've searched for hours and I still can't find anything. I remember reading a response to this in some forums about two weeks ago, but I simply can't find it anymore.

How can I make the keyboard that appears when selecting a UITextField appear without the "slide from below" animation? I just want it to appear as if it had been there all along in invisible mode. Is it even possible?

Thanks



Darkroom
Jun 20, 2009, 04:11 PM
just a quick look thru the docs i found UIKeyboardAnimationDurationUserInfoKey. i guess you would set it to 0 seconds?

floyde
Jun 20, 2009, 08:29 PM
just a quick look thru the docs i found UIKeyboardAnimationDurationUserInfoKey. i guess you would set it to 0 seconds?

Thanks, i'll look into that one. Is that sdk 3.0 though? Google only yields 2 japanese pages. I guess I'll search from apple's dev site instead.

dejo
Jun 20, 2009, 11:41 PM
Thanks, i'll look into that one. Is that sdk 3.0 though? Google only yields 2 japanese pages. I guess I'll search from apple's dev site instead.
Yes, according to the Developer Documentation, "available in iPhone OS 3.0b and later." And I'd suggest normally checking there first before trying Apple's dev site. It's built right into your Xcode.