init(rootView:)
Creates a hosting menu object that wraps the specified SwiftUI view.
Declaration
init(rootView: Content)Parameters
- rootView:
The root view of the SwiftUI view hierarchy that you want to present using this menu.
Creates a hosting menu object that wraps the specified SwiftUI view.
init(rootView: Content)The root view of the SwiftUI view hierarchy that you want to present using this menu.