1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

About keypad of simultor not closed

Discussion in 'iPhone/iPad Programming' started by iphonejudy, Nov 27, 2008.

  1. macrumors 6502



    I cant find any close or doe button in the keypad of my simulator.So how can i close my keypad after i entered the text.
  2. macrumors 6502a

  3. macrumors newbie

    Is there any return button on your keypad?
    If it is, then first you have to set delegate of textfield then in textFielShouldReturn delegate method you can use
    [yourTextField resignFirstResponder];
    so whenever you will click on return button your keyboard will closed.
  4. macrumors regular

    if she is using a numberpad keyboard layout, there is no return button (stupid,yes). you would need to add another button somewhere on the screen and that would call resign. similar to how you would use UITextView

Share This Page