PhoneGap Exporter "Hide Status Bar" doesn't work

Bugs will be moved here once resolved.

Post » Wed Oct 01, 2014 7:02 pm

Problem Description
When exporting to PhoneGap there is an option "hide status bar". If you compile this for iOS on Adobe Cloud Compiler the status bar is still shown.

Tested on iOS8, OS version 8.0.2

Attach a Capx
not required

Description of Capx
not required

Steps to Reproduce Bug
  • Export any project (could even be an empty one) to PhoneGap
  • Select "Hide Status Bar"
  • Compile and run on iOS

Observed Result
Status bar still shown

Expected Result
Status bar should be hidden

Affected Browsers
  • iOS (PhoneGap)

Operating System and Service Pack
C2 on Windows8 64bit

Construct 2 Version ID
r182

Fix
Just add these lines to your config.xml to hide it:


Code: Select all
<gap:config-file platform="ios" parent="UIStatusBarHidden">
<true/>
</gap:config-file>

<gap:config-file platform="ios" parent="UIViewControllerBasedStatusBarAppearance">
<false/>
</gap:config-file>
B
33
S
9
G
3
Posts: 206
Reputation: 7,821

Post » Thu Oct 02, 2014 1:40 pm

Thanks, fixed for next build.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454

Post » Thu Oct 02, 2014 2:44 pm

Awesome, I thought I was doing something wrong. Thanks @Ashley !
Twitter: https://twitter.com/pudgyplatypus

Learn to make a clicker game for cheap!
https://www.scirra.com/store/games-with ... e-game-666

Try out Pixel Golf on the Scirra Arcade!
https://www.scirra.com/arcade/sports-ga ... el-golf-67

Pudgy Platypus Games website!
www.pudgyplatypus.com
B
58
S
19
G
5
Posts: 212
Reputation: 7,310

Post » Thu Oct 02, 2014 4:39 pm

Perfect. Awesome! Thanks a lot ;)
B
33
S
9
G
3
Posts: 206
Reputation: 7,821


Return to Closed bugs

Who is online

Users browsing this forum: mallorcaredes and 4 guests