How to show tab when keyboard appears on iphone

hello all I work in a tab-based application where I need to show the keyboard, the keyboard appears in general, but I want my tab to appear, and above the tab on the tab only the keyboard should show how this can be done., thank you all

0
source share
2 answers

You can move the tabs along with the keyboard like this:

- (IBAction)textBoxEditing:(id)sender { CGRect frame = [[[self tabBarController] tabBar] frame]; frame.origin.y = 712; [UIView animateWithDuration:0.25f animations:^ { [[[self tabBarController] tabBar] setFrame:frame]; }]; } 

Example above for iPad in portrait. 712 is the initial position of the panel (975) minus the height of the keyboard (264).

More details

+2
source

It's impossible. The keyboard always appears at the bottom of the screen.

If tabbing is necessary when the keyboard is visible, you can move the panel above the keyboard or resize the tabbar so that the board remains visible.

Do you need the keyboard to be visible? Remember that the tab is designed to change the view. You may need to rethink your interaction design.

-one
source

All Articles