clearbold / artx

1 stars 0 forks source link

Status bar #47

Closed desigonz closed 9 years ago

desigonz commented 9 years ago

Status bar at top of screen (where time, battery life, etc is): shows up blank when opening Artbot from home screen icon. Can we add the time and battery life in? img_1882

SherriAlexander commented 9 years ago

I believe that this should now be fixed for iOS 8.0 and 8.1 -- it's a nasty one to troubleshoot because of caching issues. I had to delete and reinstall my homescreen app several times (and clear my mobile Safari browser cache) to get the changes to "take" properly on my iOS devices.

I'd be very interested to see if the fix works on iOS 7 as well -- I do not currently have any iOS 7 devices to test with, as mine all updated to iOS 8 automatically. If this fix doesn't seem to be doing the trick, or if there is extra space that appears at the top above the header bar, then I'll need to put some additional user agent sniffing in place.

Thanks!

desigonz commented 9 years ago

The status bar appears on iOS 7 as well, although the background is transparent—and therefore when you scroll, the event image shows up in the bar. See screenshot. image

heymarkreeves commented 9 years ago

Dropping my screenshot here, too. I'm on iOS7, with a 5c (taller screen).

slack_for_ios_upload

heymarkreeves commented 9 years ago

@desigonz If I clear my browser data for Safari (Settings -> Safari -> Clear History, Clear Cookies and Data) and do Add to Home Screen again from scratch, this issue goes away. Can you try that?

Thanks!

heymarkreeves commented 9 years ago

@desigonz - Hold off on that retest - The gap's been eliminated on my screen, but I'm still seeing stuff peek behind the bar. Looks like we need to target iOS7 specifically. We'll update here once we've tracked it down. Thanks!

SherriAlexander commented 9 years ago

The status bar should now have a translucent black background (not completely transparent!), so the experience matches up in iOS7 and iOS8. You can see the content of the page scroll underneath it to a more limited extent, by design.

Let me know what you think when you can -- thanks!

desigonz commented 9 years ago

Thanks for this fix! We'd prefer for the status bar background to be completely opaque.

heymarkreeves commented 9 years ago

Hi, Desi!

We'd prefer for the status bar background to be completely opaque.

That was attempted and doesn't seem possible with the options available. There's a limited palette of color options for enabling the status bar, and there are conflicts in how iOS7 & iOS8 handles them. (And Apple would prefer to see everyone just move to iOS8, which is now around 58% adoption.) What we found was anything other than "black-translucent" as the color option for the status bar effectively rendered black-on-black text.

This will be the best we can do in Homescreen mode on this one.

Thanks!

Mark

desigonz commented 9 years ago

Okay, that sounds fine. Just to make sure I understand—in iOS 8, the status bar appears as opaque black with white text, but that this is not possible for previous versions?

SherriAlexander commented 9 years ago

Hey there, all! Sorry about the confusion -- the status bar appears roughly the same now across iOS7 and iOS8 (about 80% translucent black with white text). I did extensive testing across iOS 7, iOS 8.0, and iOS 8.1 with the various status bar possibilities, and this was the only one that reliably worked across them all. Thanks!

desigonz commented 9 years ago

Okay, thanks for letting us know—sounds good.

SherriAlexander commented 9 years ago

I had to revisit this anyway, as I noticed that my fix for iOS8 wasn't sticking for some reason. Since I had to customize it for both iOS 7 and iOS 8, I went ahead and made it solid opaque black for all 3. I have to agree with you, I think it looks better this way. :) Let me know if you have any questions -- thanks!

desigonz commented 9 years ago

Looks great, thanks!