My issue is that I want to change the background color of the statusbar for iOS.
It's grey as default but it needs to be red. I really don't know how to fix this. Can please someone help me with this.
My issue is that I want to change the background color of the statusbar for iOS.
It's grey as default but it needs to be red. I really don't know how to fix this. Can please someone help me with this.
Hi Leon,
To change header color, set in its Properties Class Name to 'classHeader' for example, than add new CSS asset with code:
pre.classHeader{
background-color: red !important;}/pre
Hi Alena, Thank you for the reply. But what i mean is not the header but the bar above the header. Where you see the time and battery level. Leon
Please look at a similar questions https://getsatisfaction.com/apperyio/...
https://getsatisfaction.com/apperyio/...
The articles just don't give me the answer i am looking for.
When you start from scratch in xcode the statusbar code is placed in
didFinishLaunchingWithOptions: of AppDelegate.m. section.
You can reach this section in appery at the source section.
This is the code in the ApplicationDelegate.m file using apperio
/**
This is main kick off after the app inits, the views and Settings are setup here. (preferred - iOS4 and up)
*/
(BOOL) application:(UIApplication)application didFinishLaunchingWithOptions:(NSDictionary)launchOptions
{
Can you help me to fix this. It's a common feature that anyone would like to use.
The article i find some help: http://www.appcoda.com/customize-navi...
Hi Leon - If you want to made changes in your project in xCode you can always do that, but this is outside the scope of our support.
As Alena suggested you the only way to change iOS status-bar appearance in Appery.io is by using PhoneGap plugin: https://github.com/apache/cordova-plu...
We will include it in every project by default in the nearest Appery.io release.