Non-animated keyboard

Discussion in 'iOS Programming' started by floyde, Jun 20, 2009.

  1. floyde macrumors 6502a

    floyde

    Joined:
    Apr 7, 2005
    Location:
    Monterrey, México
    #1
    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
     
  2. Darkroom Guest

    Darkroom

    Joined:
    Dec 15, 2006
    Location:
    Montréal, Canada
    #2
    just a quick look thru the docs i found UIKeyboardAnimationDurationUserInfoKey. i guess you would set it to 0 seconds?
     
  3. floyde thread starter macrumors 6502a

    floyde

    Joined:
    Apr 7, 2005
    Location:
    Monterrey, México
    #3
    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.
     
  4. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #4
    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.
     

Share This Page