Just wanted to add that I experience the same problem if I compile equivalent code on Xcode 13 and run it on iOS 16. The same binary runs flawlessly on iOS 15.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: