I was hoping this would solve the issue, but sadly it doesn't. I found that it can also be "solved" by setting the contentInset.top to some negative value. But that doesn't hold for all sizes of phones. It's weird because it happens only in iOS 15. I will have to try to investigate more or hope that it is just an early beta defect that will be fixed later.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: