iOS status bar issue

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
gianmichele
Prole
Posts: 44
Joined: Tue Jan 14, 2014 11:03 pm

iOS status bar issue

Post by gianmichele » Thu Nov 24, 2016 1:43 pm

Hey there.

I think I might be actually going blind, but I cannot seem to get the status bar on iOS to be hidden.

I've set the .plist "Status bar is initially hidden" to yes and added "View controller-based status bar appearance" to no, but it seems is not working.

The weird thing is that if I run the no-screen love the status bar is hidden while with everything else is visible. Am I missing something?

Thanks,
Gianmichele

User avatar
slime
Solid Snayke
Posts: 2783
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: iOS status bar issue

Post by slime » Thu Nov 24, 2016 4:58 pm

The status bar will be hidden on iOS if your window is either fullscreen or borderless (both set in either love.conf or love.window.setMode).

gianmichele
Prole
Posts: 44
Joined: Tue Jan 14, 2014 11:03 pm

Re: iOS status bar issue

Post by gianmichele » Thu Nov 24, 2016 5:56 pm

Thanks slime.

What's the purpose of fullscreen for mobile?

User avatar
Rucikir
Party member
Posts: 123
Joined: Tue Nov 05, 2013 6:33 pm
Location: Paris
Contact:

Re: iOS status bar issue

Post by Rucikir » Thu Nov 24, 2016 6:07 pm

hiding the status bar ?
Lua script to distribute your LÖVE games. love-release.lua : Forum | Github
@Rucikir

gianmichele
Prole
Posts: 44
Joined: Tue Jan 14, 2014 11:03 pm

Re: iOS status bar issue

Post by gianmichele » Thu Nov 24, 2016 6:19 pm

Well why I can understand the logic behind using borderless to hide the status bar, fullscreen I think might be confusing or non intuitive.

User avatar
slime
Solid Snayke
Posts: 2783
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: iOS status bar issue

Post by slime » Thu Nov 24, 2016 10:28 pm

Before iOS 7, the status bar took some screen real-estate away from the app - so by hiding it the app's window would cover the entire screen.

User avatar
Bunnybacon
Prole
Posts: 16
Joined: Fri Mar 25, 2016 8:42 am

Re: iOS status bar issue

Post by Bunnybacon » Fri Nov 25, 2016 12:31 pm

I think you have to enable "exclusive" fullscreen mode in conf.lua to ensure that it hides the status bar.

User avatar
slime
Solid Snayke
Posts: 2783
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: iOS status bar issue

Post by slime » Fri Nov 25, 2016 4:32 pm

Any fullscreen mode (or borderless set to true) should work fine.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 10 guests