Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change iPhone App Status Bar Properties

My app will be full screen, but I am having trouble finding the document that explains how to change the status bar properties.

How can I change the status bar properties?

like image 901
Ryan Avatar asked Dec 30 '08 02:12

Ryan


People also ask

How do I change the iOS status bar of my App?

In order to change the iOS status bar of your progressive web app, you must use the apple-mobile-web-app-status-bar-style meta tag. Unfortunately, the number of ways to customize the status bar is fairly limited, but Apple offers three distinct settings: default, black, and black-translucent.

What is the default color for the iPhone status bar?

The iPhone status bar default color is the default Mobile Safari gray color, and you can change it to two other possible values: I haven't used the black-translucent setting yet, but I've read that it "removes the status bar from the document flow", and your content may be shifted up by twenty pixels and load behind the iPhone status bar.

How do I customize the status bar in service studio?

In Service Studio, open the home module of your mobile app. In the module tree, select the module and, in the properties editor, open the Extensibility Configurations property editor window: Add the JSON properties to customize your application status bar according to the reference information presented below.

How can I change the color of the status bar?

If you're jailbroken and looking to make your springboard a little more colorful, then SpringResearch from hiroshit can help. This tweak will enable you to change the background and foreground colors of the the status bar, as well as the font for app icons on the home screen. Go ahead and install SpringResearch in Cydia and respring your device.


1 Answers

[[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO] should hide the status bar. Is that what you want?

edit: You could also add the following to Info.plist:

<key>UIStatusBarHidden</key>
<true />
like image 126
dancavallaro Avatar answered Sep 30 '22 21:09

dancavallaro