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.

The Web Tub

Pushing the web current through hybrid mobile and PWA…

The Web Tub

Pushing the web current through hybrid mobile and PWA technology. Presented by the Monaca and Onsen UI team.

Onsen UI & Monaca Team

Written by

Team of developers from Onsen UI and Monaca

The Web Tub

Pushing the web current through hybrid mobile and PWA technology. Presented by the Monaca and Onsen UI team.