SvenTiigi / WhatsNewKit

Showcase your awesome new app features 📱
https://sventiigi.github.io/WhatsNewKit/
MIT License
3.92k stars 193 forks source link

[iOS 13] ItemsView scrollview too large when using content Mode .fill or .center #24

Closed mattbarker016 closed 5 years ago

mattbarker016 commented 5 years ago

WhatsNewKit Environment

What did you do?

Launched the WhatsNewViewController in iOS 13 with a itemsView.contentMode of .center or .fill.

What did you expect to happen?

All the items to fit on the screen.

What happened instead?

The itemsView scrollView went off the screen, with too much space between each itemView. The below screenshots are using an .fill with some insets for the itemsView on an iPhone XR simulator.

iOS 12.2

iOS 13.0

SvenTiigi commented 5 years ago

Hey @mattbarker016

Thanks for your bug report 👍

I will definitely have look at this with the newest Xcode 11 beta to find a solution for it.

SvenTiigi commented 5 years ago

Hey @mattbarker016

Please check out the branch feature/iOS-13 I've pushed a bug fix for your reported problem.

Let me know if this bug fix works for you ✌️

mattbarker016 commented 5 years ago

Yep, works great!