This is a migrated thread and some comments may be shown as answers.

Hide status bar on splashscreen

3 Answers 236 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jeelig
Top achievements
Rank 1
Jeelig asked on 03 Oct 2014, 09:10 AM
Hi,
I'm using appbuilder to build iOS apps. Actually, I have on issue.
In my app, I want the status bar to have a specific color. In the deviceready event, I added this :
    StatusBar.backgroundColorByHexString("#00A084");
It works perfectly. Except that when the app is launching, on top of the splashcreen you can see that the status bar is still black, which is quite normal since the "deviceready" event hasn't been catched yet.
What concerns me the most is that, in the properties of the project, for iOS, I choosed statusbar style "hidden".
I tried all the options of status style and in the splashscreen, the status bar is still black!

Do you have any idea how to have the splashscreen covering the status bar? Or not having a black status bar on splashscreen?

Thank you

3 Answers, 1 is accepted

Sort by
0
Martin Yankov
Telerik team
answered on 07 Oct 2014, 10:44 AM
Hello,

The option in the Properties of the project works only for iOS 6.1 and earlier. To change this for newer iOS versions, you have to specify this in the info.plist file. To get access to the info.plist file in Telerik AppBuilder right click on your project -> Edit Configuration -> info.plist. Open the file and add this key at the bottom after all other keys:
<key>UIStatusBarHidden</key>
<true/>

Try this out and let me know the results.

Regards,
Martin Yankov
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Jeelig
Top achievements
Rank 1
answered on 07 Oct 2014, 07:43 PM
Still the same black status bar when on splashscreen.
Thanks anyway, but that's not the solution
0
Martin Yankov
Telerik team
answered on 08 Oct 2014, 09:05 AM
Hello,

This solution works for me. Can you please open a support ticket and send a sample app or your app, so that I can investigate this and provide a solution.

I am looking forward to your reply.

Regards,
Martin Yankov
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
AppBuilder Windows client
Asked by
Jeelig
Top achievements
Rank 1
Answers by
Martin Yankov
Telerik team
Jeelig
Top achievements
Rank 1
Share this question
or