ARScanView

public struct ARScanView : View

Scanning View which displays a collapsable image to display for anchor detection. The anchor is still detectable when uncollapsed and the View will fade out after detection.

  • Initializer

    Declaration

    Swift

    public init(guideImage: UIImage, anchorPosition: CGPoint?)

    Parameters

    guideImage

    The image that is displayed in the View which represents a detectable anchor

    anchorPosition

    The position of the anchor on screen after detection

  • Initializer

    Declaration

    Swift

    public init(guideImageState: GuideImageState, anchorPosition: CGPoint?)

    Parameters

    guideImageState

    The state of the image that will be displayed in the View which represents a detectable anchor, if the guideImageState is not finished a progressview will display

    anchorPosition

    The position of the anchor on screen after detection

  • SwiftUI’s view body

    Declaration

    Swift

    public var body: some View { get }