body
The root view of the view hierarchy to display for your interface controller.
Declaration
@MainActor @preconcurrency var body: Body { get }Discussion
Override this property and return the root view of your SwiftUI view hierarchy from your implementation. If you don’t override this property, accessing the default implementation triggers an exception.