0

I am designing a form in iOS 5, where i'm showing the following fields.

  1. User Id - Numpad Keyboard
  2. Pin Number - Numpad Keyboard
  3. Password - ASCII capable
  4. Confirm Password - ASCII capable

I have a number of problems.

  1. When the keyboard is on screen, fields which are displayed at the bottom are obscured by the keyboard. How do i show them?

  2. There is no next/done button implementation for Numpad Keyboard type. A custom implementation as discussed in SO on this link has the problem, that i have ASCII keyboards too, which display next buttons at the bottom. and while being displayed in the landscape mode, there is no room left for the form.

Community
  • 1
  • 1
orak
  • 2,399
  • 7
  • 29
  • 55
  • Well, there are already lot of questions exists on SO and google. Please try to spend some time with search before asking the question. Here is the [Answer](http://stackoverflow.com/questions/2307200/iphone-keyboard-hides-textfield) for your question – iEngineer Oct 19 '12 at 19:02
  • possible duplicate of [How to navigate through textfields (Next / Done Buttons)](http://stackoverflow.com/questions/1347779/how-to-navigate-through-textfields-next-done-buttons) – RichardTheKiwi Oct 19 '12 at 22:49

1 Answers1

0

There are two parts to this.

  1. Keeping controls in view when the keyboard appears.
  2. Having previous/next/done buttons on any keyboard.

For the first part, you want to use a scroll view. See: Moving Content That Is Located Under the Keyboard.

For the second part, you want to set a input accessory view. See: Input Views and Input Accessory Views.

Hope that helps.

Jeffery Thomas
  • 42,202
  • 8
  • 92
  • 117