How to display cursor in UITextField and Keypad?

Discussion in 'iOS Programming' started by Sergio10, Sep 15, 2009.

  1. macrumors regular

    Joined:
    Oct 3, 2007
    #1
    Hi,

    How to display cursor in UITextField and Keypad?

    Thank you
     
  2. macrumors demi-god

    KoolStar

    Joined:
    Oct 16, 2006
    Location:
    Kentucky
    #2
    all you should have to do is set the text field to first responder.
    Code:
    [textField becomeFirstResponder];
     
  3. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #3
    When the user taps the textField to edit it, a cursor and keyboard should appear automatically.
     

Share This Page