The issue is with iOS 26 on a project built with Xcode 16.4. I’m encountering a recursion loop specifically when trying to use the safeArea value — for example, for bottom padding
.padding(.bottom, max(16, UIDevice.current.safeAreaInsets.bottom))
However, when I move a simplified version of the view into a test project, the problem disappears. So I’ll continue investigating what exactly is triggering the recursion in this specific case.
I’ll also try building the project with xCode 26.
It’s weird because everything was working fine on iOS26 Beta 2, and these weird freezes only started after updating the phone to Beta 3.
Thanks for getting back to me!
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: