Page 2 of 4

Battery meter shows in my header.

Posted: Mon Nov 25, 2013 4:29 pm
by Maryna Brodina

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


Battery meter shows in my header.

Posted: Sun Feb 16, 2014 4:30 pm
by Tom6106181

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

Should be part of app-settings in appery.


Battery meter shows in my header.

Posted: Mon Feb 17, 2014 7:49 pm
by Maryna Brodina

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


Battery meter shows in my header.

Posted: Thu Feb 20, 2014 9:11 am
by andi

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?


Battery meter shows in my header.

Posted: Thu Feb 20, 2014 9:25 am
by Tom6106181

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.


Battery meter shows in my header.

Posted: Thu Feb 20, 2014 9:50 am
by andi

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?


Battery meter shows in my header.

Posted: Thu Feb 20, 2014 9:55 am
by Tom6106181

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


Battery meter shows in my header.

Posted: Thu Feb 20, 2014 10:16 am
by andi

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?


Battery meter shows in my header.

Posted: Thu Feb 20, 2014 10:40 am
by Tom6106181

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.


Battery meter shows in my header.

Posted: Thu Feb 20, 2014 5:14 pm
by Maryna Brodina

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.