When Creating an iphone app how do i get my keyboard to go down???

Discussion in 'iPhone' started by 131280, Apr 19, 2011.

  1. 131280 macrumors newbie

    Joined:
    Apr 19, 2011
    Location:
    Antartica
    #1
    i am currently creating an iphone app that has multiple text fields. currently i cant move between them unless i can touch them? how do i either get the enter button to move the cursor from 1 to another, and or how do i get the keyboard to disapear??
     
  2. Shawnpk macrumors 6502

    Joined:
    Jan 13, 2011
    Location:
    Los Angeles, CA
    #2
    When you touch the text field, it becomes the first responder. What you need is an IBAction that resigns first responder status. Then the keyboard will go away.
     
  3. 131280 thread starter macrumors newbie

    Joined:
    Apr 19, 2011
    Location:
    Antartica
  4. Shawnpk macrumors 6502

    Joined:
    Jan 13, 2011
    Location:
    Los Angeles, CA
    #4
    Are you new to programming in Objective-C or iPhone programming?
     
  5. 131280 thread starter macrumors newbie

    Joined:
    Apr 19, 2011
    Location:
    Antartica
  6. Shawnpk macrumors 6502

    Joined:
    Jan 13, 2011
    Location:
    Los Angeles, CA
    #6
    Ok. It may help to say that you are new. If you are just asking for code, people will be unlikely to help. So you can either use the done button to make the keyboard go away, use a button to make the keyboard go away, or tap the background to make the keyboard go away.
     
  7. 131280 thread starter macrumors newbie

    Joined:
    Apr 19, 2011
    Location:
    Antartica
    #7
    sorry i didnt know is there a site that i can get code???????
     

Share This Page