Closed winkelsdorf closed 8 years ago
Thanks for this! We're going to swap this to a proper modal presentation at some point in time (#148) and it might be entirely resolved by that. If not, we'll tackle afterwards.
You're welcome! Ah yes, forgot about that.. Reference to this is kept in #148, closing this for now.
Hi Nick,
just stumbled upon this nifty bug with the Demo playing with iPad Split View:
Notice that the 1st screenshot is actually a Split View, not Overlay. It should be centered like the underlying View.
Source from :head as of today.
Looks like should be fixable with adjusting
viewWillLaoutSubviews()
usage ofUIScreen.mainScreen().bounds.size
.Usually I would do this implementing traitCollectionDidChange: but the views are created by code.
Edit: Not that easy to fix. We could use
UIScreen.mainScreen().applicationFrame
instead, but it 1) is deprecated with iOS9 2) leaves a gap at the bottom (height of the statusbar is not part of applicationFrame) 3) and has issues with the close button.Cheers, Frederik