I am designing a form in iOS 5, where i’m showing the following fields.
- User Id – Numpad Keyboard
- Pin Number – Numpad Keyboard
- Password – ASCII capable
- Confirm Password – ASCII capable
I have a number of problems.
-
When the keyboard is on screen, fields which are displayed at the bottom are obscured by the keyboard. How do i show them?
-
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.
There are two parts to this.
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.