Comment on "Swift closure context (unknown layout)" memory leak with SwiftUI Thanks for your reply! That makes sense. I've filed a bug with a small sample project here: https://feedbackassistant.apple.com/feedback/13690463 UI Frameworks UIKit Mar ’24