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
Citizen
Posts: 63
Joined: Tue Jan 14, 2014 11:03 pm

iOS status bar issue

Post by gianmichele »

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: 3132
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: iOS status bar issue

Post by slime »

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
Citizen
Posts: 63
Joined: Tue Jan 14, 2014 11:03 pm

Re: iOS status bar issue

Post by gianmichele »

Thanks slime.

What's the purpose of fullscreen for mobile?
User avatar
Rucikir
Party member
Posts: 129
Joined: Tue Nov 05, 2013 6:33 pm

Re: iOS status bar issue

Post by Rucikir »

hiding the status bar ?
gianmichele
Citizen
Posts: 63
Joined: Tue Jan 14, 2014 11:03 pm

Re: iOS status bar issue

Post by gianmichele »

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: 3132
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: iOS status bar issue

Post by slime »

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: 20
Joined: Fri Mar 25, 2016 8:42 am

Re: iOS status bar issue

Post by Bunnybacon »

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: 3132
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: iOS status bar issue

Post by slime »

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

Who is online

Users browsing this forum: No registered users and 140 guests