This question is locked. New answers and comments are not allowed.
Hi,
I'm using AppBuilder windows client for my iOS application (with phonegap, of course) and in fact I'm not using ION, but my own Apple License to build the native app on the mobile.
My problem today, is that I would like to have the iOS 7 status bar style, but none of the options available in the iOS properties of icenium seem to work.
I tried them all and the app still have like a iOS6 and lower header look.
What can I do to make it work?
Check attachements to see what I'm talking about
I'm using AppBuilder windows client for my iOS application (with phonegap, of course) and in fact I'm not using ION, but my own Apple License to build the native app on the mobile.
My problem today, is that I would like to have the iOS 7 status bar style, but none of the options available in the iOS properties of icenium seem to work.
I tried them all and the app still have like a iOS6 and lower header look.
What can I do to make it work?
Check attachements to see what I'm talking about
7 Answers, 1 is accepted
0
Jeelig
Top achievements
Rank 1
answered on 10 Mar 2014, 08:38 AM
Anybody? Am I the only one having this problem?
If you know what to do, let me know ...
If you know what to do, let me know ...
0
domiSchenk
Top achievements
Rank 1
answered on 10 Mar 2014, 01:27 PM
what i did for my header to be colored is:
under Properties > Plugins > Core Plugins > Enabled Statusbar plugin
then i set new kendo.mobile.Application(document.body, { statusBarStyle: 'black-translucent' });
and with setting the header color:
.km-on-ios .km-header .km-navbar
{
background-color: #10C4B2;
}
it worked for me.
If there is a still a black boarder just add a margin of -20px (i think)
under Properties > Plugins > Core Plugins > Enabled Statusbar plugin
then i set new kendo.mobile.Application(document.body, { statusBarStyle: 'black-translucent' });
and with setting the header color:
.km-on-ios .km-header .km-navbar
{
background-color: #10C4B2;
}
it worked for me.
If there is a still a black boarder just add a margin of -20px (i think)
0
Jeelig
Top achievements
Rank 1
answered on 10 Mar 2014, 01:38 PM
Thanks a lot.
But i guess this is for Kendo Mobile ?!
I'm not using Kendo for my apps
But i guess this is for Kendo Mobile ?!
I'm not using Kendo for my apps
0
domiSchenk
Top achievements
Rank 1
answered on 10 Mar 2014, 01:46 PM
ah didn't see that you're not using kendo :-D
you are using jquery?
maybe this plugin: https://github.com/phonegap-build/StatusBarPlugin will help you
you are using jquery?
maybe this plugin: https://github.com/phonegap-build/StatusBarPlugin will help you
0
Jeelig
Top achievements
Rank 1
answered on 10 Mar 2014, 01:47 PM
I tried the margin-top -20px. The header is pulled up, but still behind the black status bar
0
Jeelig
Top achievements
Rank 1
answered on 10 Mar 2014, 01:49 PM
OK, I'll try this plugin and let you know
0
Jeelig
Top achievements
Rank 1
answered on 10 Mar 2014, 04:03 PM
As StatusBar plugin is part of AppBuilder (since 3.2) all I had to do to solve the problem was to use this in the deveiceready event :
StatusBar.overlaysWebView(false);
+
StatusBar.backgroundColorByHexString("#FF0000");
or
StatusBar.backgroundColorByName("red");
Hope it can be usefull to people facing the same problem in jquery.
Ref : http://blogs.telerik.com/appbuilder/posts/13-11-07/everything-hybrid-web-apps-need-to-know-about-the-status-bar-in-ios7
Thanks again
StatusBar.overlaysWebView(false);
+
StatusBar.backgroundColorByHexString("#FF0000");
or
StatusBar.backgroundColorByName("red");
Hope it can be usefull to people facing the same problem in jquery.
Ref : http://blogs.telerik.com/appbuilder/posts/13-11-07/everything-hybrid-web-apps-need-to-know-about-the-status-bar-in-ios7
Thanks again