We're having the same issue on a large project with a lot of view controllers.
We're seeing this problem happening only on iOS 26 devices. The problem has been described well by @interferon
@DTS Engineer you have to acknowledge that something got broken with the safe area in iOS 26.
Your ask is a bit difficult to accomplish, since we work in large codebases with complex view controllers and complex view hierarchies.
Topic:
UI Frameworks
SubTopic:
UIKit