Sparviero
Sparviero

Reputation: 664

Statusbar color on iPad with iOS6

I noticed that statusbar tint properties is selectable only in iPhone project summary, but I would like to tint my status bar on an iPad app, is it possible to do? I can't find any method

Upvotes: 0

Views: 306

Answers (2)

kelin
kelin

Reputation: 11995

Consider this quote from iOS 6 release notes:

It is now possible to set status bar tint parameters in your app’s Info.plist file. You might do this to ensure that the status bar color matches your app’s navigation bar color during startup. To set the status bar tint, add the UIStatusBarTintParameters key to your Info.plist file. The value of this key is a dictionary with the appropriate values describing the navigation bar your app has at startup. Inside the dictionary should be the UINavigationBar key, which has a value that is also a dictionary. That dictionary contains the initial navigation bar’s style (with the Style key) and indicates whether it is translucent (with the Translucent key).

Upvotes: 1

rckoenes
rckoenes

Reputation: 69469

No, the iPad status bar will always be black. It is stated in the UIApplication documentation section of UIStatusBarStyle:

Special Considerations

On iPad devices, the UIStatusBarStyleDefault and UIStatusBarStyleBlackTranslucent styles default to the UIStatusBarStyleBlackOpaque appearance.

Upvotes: 1

Related Questions