Display keyboard above toolbar? - iphone

I have a view with a bottom toolbar and a UIWebview that is loading an HTML page with some textboxes. Is there anyway when the user clicks on a textbox, the keyboard appears above the toolbar, that way it doesn't hide its buttons?

You shouldn't try to change the keyboard's location, even if you could. That would be a usability disaster.
Instead, try to move the toolbar above the keyboard if you want to keep it visible.

Related

How to add keyboard in action sheet

Is it possible add keyboard in action sheet?
If yes, how can I do? ... I would like to disable the background.
Thanks, Luigi.
I think UIKeyBoard can not be added in ActionSheet but you achieve your goal but handling keyboard notifications...add the Keyboard will appear and will disappear notifications in your controller...
on keyboard will appear add a subview of frame same as the parent view frame..and set its alpha 0.5...it will look like An ActionSheet is appearing and the background will automatically be disabled and on keyboard disappear remove that view from superview...you can add tap Gesture in the view you are adding..Hope so it will be answer of your question.
You can add different controls to action sheets, like pickers and text views. However, as mentioned you can't add a keyboard.
If you want to customize what is shown when the keyboard is shown, you can slide controls with the keyboard, to make it look like they are part of the keyboard.
Alternatively you could create your own keyboard using buttons etc.

tap UIwebView and don't dimiss keyboard

When I tap UIWebView, the keyboard will disappear, This is not What I want , I want the keyboard remain there, any solution?
If you want your keyboard to disappear when you remove your text view, make sure to call resignFirstResponder on your text view before you remove / release your text view.
If you are touching the UIWebView while the text view is visible, then the focus changes from the text view to the web view and the keyboard dismisses, since the OS believes that any touches happening from that point are meant for the web view. If you touch the text view (if it's still visible, that is), the focus changes back to the text view and the keyboard should re-appear.
If these answers don't help you, please clarify your question.

Move button panel above on-screen keyboard

While adding a contact, when the on-screen keyboard is displayed the panel containing the 'Done' and 'Revert' buttons scrolls up above the on-screen keyboard.
How is this achieved?
You can force the screen to scroll up by modifying the manifest file. See this link.

iPhone Keyboard Adjust In View

I've been searching, but haven't quite found a complete answer, and the Apple docs aren't much help.
I have an application with a UIView that has a lot of text fields on it, ranging from the top of the view to the bottom. When the user clicks the first UITextField the keyboard pops up. The keyboard has three buttons above it, previous, next, and done on a toolbar InputAccessoryView.
Basically, let's say there are 6 UITextField boxes that space from the top of the view to the bottom. When the user gets past the third text field, the keyboard blocks the bottom three. How do I have the view adjust up when putting text in the bottom three text fields?
You need to place your textfields into a UIScrollView, and either translate the view above the keyboard when it is active and away when it is down, or another solution such as always having the keyboard up on that page, which'll save you the setFrame calls on your UIView/UIScrollView depending on what the keyboard is doing.
This will further help:
How to adjust the view position when the keyboard opens in iPhone?

How to make keyboard with textfield on the top of it?

I need to have textfield (maybe with button) fixed at the bottom of screen, and when start editing, I want it (and probably the whole view) to move with keyboard up - just like in the native Messages application (or Whatsapp, etc...). Any suggestions ?
The easiest way is to put everything in a UIScrollView, which you resize when the keyboard is shown using the UIKeyboardDidShowNotification. Then you scroll to ensure that your views are visible.
Check out the Apple documentation under "Moving Content That Is Located Under the Keyboard"