Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Battery meter shows in my header.

Hello! Please take a look here http://getsetgames.com/tag/uistatusba...

Tom6106181
Posts: 0
Joined: Fri Aug 02, 2013 12:39 pm

Battery meter shows in my header.

Add this to your app-info.plist file.
code
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
/code

Should be part of app-settings in appery.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Battery meter shows in my header.

Hello! We're going to add all keys on App Settings--iOS keys tab next release in March.

andi
Posts: 0
Joined: Sat May 25, 2013 9:32 am

Battery meter shows in my header.

Hi just woundering

is this the Key "UIStatusBarHidden" in the App-Settings?

What is the best way so far? for hidding the status bar or showing my app only in the available place?

Tom6106181
Posts: 0
Joined: Fri Aug 02, 2013 12:39 pm

Battery meter shows in my header.

The key you are refering to only hide for IOS6.x, not IOS7.
Simplest approach is to just add the string I mentioned above to your app-info.plist file (in appery - Source - Appname - appname-info.plist).
Appery builder do not have this in their app-settings as of yet.

andi
Posts: 0
Joined: Sat May 25, 2013 9:32 am

Battery meter shows in my header.

i just tried
precode <key>UIStatusBarHidden</key>
<false/>
<key>UIViewControllerBasedStatusBarAppearance</key>
<true/>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleBlackOpaque</string>
/code/pre

and

precode <key>UIStatusBarHidden</key>
<false/>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleBlackOpaque</string>
/code/pre

but nothing changed?

Tom6106181
Posts: 0
Joined: Fri Aug 02, 2013 12:39 pm

Battery meter shows in my header.

you need to set UIStatusBarHidden to TRUE ;)
and UIViewControllerBasedStatusBarAppearance = false
Should hide statusbar in both ios6 and 7 (Xcode simulator or ios device).

andi
Posts: 0
Joined: Sat May 25, 2013 9:32 am

Battery meter shows in my header.

Yes now it works - the status bar is hidden :)

An other question ....
this edited plist file ....

When will the file be generated again?
Has i to edit it manuelle everytime?

Tom6106181
Posts: 0
Joined: Fri Aug 02, 2013 12:39 pm

Battery meter shows in my header.

I am not sure, as you set this value in appery, you will not need to modify it for the spesific app anymore (what will happen when Appery implement all keys to app-settings is another question they should reply on). Spent some time figuring this one out myself :) Glad I could help.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Battery meter shows in my header.

Hello! When this feature is implemented, most likely your file as it's changed on Source tab, has higher priority and changes made in editor won't be applied. You would need to delete this file and undo all source changes to have an ability edit these settings through editor.

Return to “Issues”