The Web Tub
Published in

The Web Tub

Onsen UI and PhoneGap/Cordova on iOS 7

iOS 7 comes with new UI design that the application now run in full screen with the status bar overlay the application.

If you run current Onsen UI version (0.6), you will see something like this:

Solution

The solution is to increase the height of the navigation bar and pad the top section.

Below is the code to solve this problem.

index.html

css/ios7.css

.topcoat-navigation-bar { 
height: 60px;
padding-top: 20px;
}

Result

Below is what it look like after applying the code.

Originally published at onsen.io on January 23, 2014.

--

--

Pushing the web current through hybrid mobile and PWA. Presented by ASIAL CORPORATION (https://www.asial.co.jp/en/).

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Onsen UI & Monaca Team

Onsen UI & Monaca Team

Team of developers from Onsen UI and Monaca