This is a migrated thread and some comments may be shown as answers.

NavBar and native input in iOS

1 Answer 46 Views
NavBar
This is a migrated thread and some comments may be shown as answers.
Rinat
Top achievements
Rank 1
Rinat asked on 11 Jul 2012, 10:34 AM
Hello, i've some problem:
When widgets (select, text input) are near the bottom of the screen or need scrolling to reach them and after tapping the widget native controls like keyboard or select drum are invoked these controls move the entire page including NavBar up. But when controls are closed and the page moves back, NavBar doesn't do it completely. It's on the screen but is covered with status bar of the device (that show signal level, battery level, etc).

Platform: iOS 5.1, 5.1.1 - iPhone 4S and iPad2

How can I solve this?

1 Answer, 1 is accepted

Sort by
0
Rinat
Top achievements
Rank 1
answered on 12 Jul 2012, 08:55 AM
Found the solution:

I had "width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0" in meta tag. After i changed it to "content="user-scalable=no,width=device-width" the problem disappered.

Tags
NavBar
Asked by
Rinat
Top achievements
Rank 1
Answers by
Rinat
Top achievements
Rank 1
Share this question
or