Skip to content
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.

DISCUSS: statusBarHeight is incorrect on iOS 7 #2

Merged
merged 1 commit into from
Sep 10, 2013

Conversation

btaylor
Copy link

@btaylor btaylor commented Aug 28, 2013

Not sure if you've seen this before, but for some reason on iOS 7, the statusBarHeight "nudge" of 20 (the one that occurs in viewDidLoad) seems like half as much as what is actually required. If you present a blank DZPopupController, you should see it cutting the status bar in half.

Now, this fix really makes no sense; rects are always specified in 1x, so the scale should have nothing to do with it, but it felt better than hardcoding 2. I've also fiddled with all of the new iOS properties (which are NDAed, otherwise I'd list them here) that control whether we overlap the status bar or not (holy hell do they feel half-baked) to no avail.

Has anyone else seen this behavior?

@zwaldowski
Copy link
Owner

Hey, sorry for the slow response. I haven't synced DZPopupController with our internal copies in a while. The [REDACTED] status bar behavior gets extremely wonky on 7. The nudge of 20 is correct, but I agree that the result is incorrect so I'll merge it anyway. (Thanks!)

zwaldowski added a commit that referenced this pull request Sep 10, 2013
DISCUSS: statusBarHeight is incorrect on iOS 7
@zwaldowski zwaldowski merged commit 57cb168 into zwaldowski:master Sep 10, 2013
@zwaldowski
Copy link
Owner

And, that is to say, I'll keep an eye out for improvements to be made. I haven't worked on DZPopupController's specific iOS 7 support since Beta 2 or thereabouts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants