keyboard can been see

Discussion in 'iOS Programming' started by sherry2009, Dec 17, 2009.

  1. sherry2009 macrumors newbie

    sherry2009

    Joined:
    Dec 14, 2009
    #1
    I want to see keyboard ,when first coming to UITextView ,and cursor is in the UITextView ,I don't want ,when I tuch the UITextView,then the cursor and the keyboard appear.How should I do? Thx!
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    Try this:
    Code:
    [textField becomeFirstResponder];
     

Share This Page