Hi, this forum is for discussion of the Swift Programming Language, not Apple frameworks like SwiftUI. Please post your question on the Apple Developer Forums.