View

public extension View
  • Adds a geometry reader to the background to fetch the size without causing the view to grow.

    Declaration

    Swift

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

    Parameters

    binding

    The binding to store the size.