Alua-Kinzhebayeva / iOS-PDF-Reader

PDF Reader for iOS written in Swift
MIT License
532 stars 150 forks source link

Top of first page hidden under top navigation bar #82

Open caevan opened 6 years ago

caevan commented 6 years ago

I have an issue where the top of the first page of the PDF document is hidden under the navigation bar. Subsequent pages are displayed correctly and the first page is then displayed correctly if you move back to it from another page. I am loading the PDF Reader from a UITableViewController within a UITabbarcontroller. I also hide the Tabbar when I load the PDF reader. I am also getting UICollectionViewFlowLayoutBreakForInvalidSizes when the Reader first loads. I have a work around, but it would be interested to know if there is a simple fix.