View

extension View
  • Setter for applying a style to an Airship embedded view

    Declaration

    Swift

    @MainActor
    public func setAirshipEmbeddedStyle<S>(
        _ style: S
    ) -> some View where S: AirshipEmbeddedViewStyle
  • Adds a geometry reader to the background to fetch the size without causing the view to grow.

    Declaration

    Swift

    @ViewBuilder
    @MainActor
    func airshipMeasureView(_ binding: Binding<CGSize?>) -> some View

    Parameters

    binding

    The binding to store the size.