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 more

    Declaration

    Swift

    public enum NavigationStyle : Sendable
  • Initializer.

    Declaration

    Swift

    @MainActor
    public init(navigationStyle: NavigationStyle = .auto, controller: MessageCenterController? = nil)

    Parameters

    navigationStyle

    The navigation style. Defaults to auto.

    controller

    The message center controller. If nil the default controller will be used.

  • The body of the view.

    Declaration

    Swift

    @MainActor
    public var body: some View { get }