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.

Like what you read? Give Onsen UI & Monaca Team a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.