MessageCenterView
@MainActor
public struct MessageCenterView : View
The main view for the Airship Message Center. This view provides a navigation stack.
If you wish to provide your own navigation, see MessageCenterContent.
-
The navigation style.
See moreDeclaration
Swift
public enum NavigationStyle : Sendable -
Initializer.
Declaration
Swift
@MainActor public init(navigationStyle: NavigationStyle = .auto, controller: MessageCenterController? = nil)Parameters
navigationStyleThe navigation style. Defaults to
auto.controllerThe message center controller. If
nilthe default controller will be used. -
The body of the view.
Declaration
Swift
@MainActor public var body: some View { get }
View on GitHub