How avoïd statusbar over the top of card on IOS 7

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

How avoïd statusbar over the top of card on IOS 7

Post by jmburnod » Sat Dec 20, 2014 2:38 pm

Hi All,
I see a different stack location in an app between IOS 6 and IOS 7 (LC 6.7).
All is ok on IOS 6 but the bottom of stack is too above (The statusbar is over the top of card)
• statusbar = default
I searched something about statusbar in the doc but I found nothing
Is there someone who have an explanation ?
Best regards
Jean-Marc
https://alternatic.ch

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: How avoïd statusbar over the top of card on IOS 7

Post by jacque » Sat Dec 20, 2014 9:56 pm

This is a known issue, reported when iOS 7 was released and Apple changed how the status bar works: http://quality.runrev.com/show_bug.cgi?id=11381

There is no engine fix, possibly because the engine can't know what parts of your stack to move. The solution right now is to either write a script that relocates card objects, or (easier) just leave some open space at the top of the card so that the status bar doesn't cover any important objects. I think that's what most people do, since it is easier and allows both iOS 6 and 7 to work identically.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: How avoïd statusbar over the top of card on IOS 7

Post by jmburnod » Sun Dec 21, 2014 11:55 am

Jacque,
Thanks again for explanations.
I now understand my confusion :D
Best regards
Jean-Marc
https://alternatic.ch

Post Reply