LeoNatan / LNPopupController

A framework for presenting view controllers as popups of other view controllers, much like the Apple Music and Podcasts apps.
MIT License
3.04k stars 342 forks source link

iPhone XS bottom spacing #329

Closed ggirotto closed 5 years ago

ggirotto commented 5 years ago

Description

Extra bottom spacing at iPhone XS when not using with TabBar

Steps to Reproduce

Just present a VC using the LNPopupController framework in iPhone XS A project reproducing the bug is attached LNPopupBug.zip Such as a image showing the bug

IMG_1327

Device, OS and Xcode Versions

Latest iOS and XCode versions

LeoNatan commented 5 years ago

Hello,

This is not a bug, the system is behaving as expected. If you wish to cover this, you should either define a bottom docking view (with the appropriate frame), or add a view and constraint its height to the safe area layout guide's bottom.

You can see an example of the above in the maps example in the example project.