View

extension View
  • Overrides the message center predicate

    Declaration

    Swift

    @MainActor
    public func messageCenterPredicate(_ predicate: MessageCenterPredicate?) -> some View

    Parameters

    predicate

    The message center predicate

  • Overrides the message center theme

    Declaration

    Swift

    @MainActor
    public func messageCenterTheme(_ theme: MessageCenterTheme) -> some View

    Parameters

    theme

    The message center theme

  • Sets the list item style

    Declaration

    Swift

    @available(*, deprecated, message: "Use messageCenterItemViewStyle(_:﹚ instead")
    @MainActor
    public func setMessageCenterItemViewStyle<S>(
        _ style: S
    ) -> some View where S: MessageCenterListItemViewStyle

    Parameters

    style

    The style

  • Sets the list item style

    Declaration

    Swift

    @MainActor
    public func messageCenterItemViewStyle<S>(
        _ style: S
    ) -> some View where S: MessageCenterListItemViewStyle

    Parameters

    style

    The style

  • Sets the Message Center message style

    Declaration

    Swift

    @available(*, deprecated, message: "Use messageCenterMessageViewStyle(_:﹚ instead")
    @MainActor
    public func setMessageCenterMessageViewStyle<S>(
        _ style: S
    ) -> some View where S: MessageViewStyle

    Parameters

    style

    The style

  • Sets the Message Center message style

    Declaration

    Swift

    @MainActor
    public func messageCenterMessageViewStyle<S>(
        _ style: S
    ) -> some View where S: MessageViewStyle

    Parameters

    style

    The style

Message center dismiss action