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

Closed
opened 2025-10-14 15:59:42 -06:00 by navan · 0 comments
Owner

Originally created by @mattbarker016 on 8/12/2019

WhatsNewKit Environment

  • WhatsNewKit version: 1.2
  • Xcode version: Xcode-beta 11.0 beta 5
  • Swift version: Swift 5
  • macOS version running Xcode: macOS 10.14.6
  • Dependency manager (Carthage, CocoaPods, Manually): CocoaPods

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

*Originally created by @mattbarker016 on 8/12/2019* ## WhatsNewKit Environment - WhatsNewKit version: 1.2 - Xcode version: Xcode-beta 11.0 beta 5 - Swift version: Swift 5 - macOS version running Xcode: macOS 10.14.6 - Dependency manager (Carthage, CocoaPods, Manually): CocoaPods ## 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** <img src=https://user-images.githubusercontent.com/8039928/62845981-973f3c00-bc9a-11e9-97a8-c46f284f9446.png height=600> **iOS 13.0** <img src=https://user-images.githubusercontent.com/8039928/62845991-a2926780-bc9a-11e9-8bbe-a2ce84f62e99.png height=600>
navan 2025-10-14 15:59:43 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/WhatsNewKit#79
No description provided.