zwaldowski/DZPopupController — pull request #2 by btaylor (2013-08-28 23:24:21+00:00)
Title: DISCUSS: statusBarHeight is incorrect on iOS 7

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?