One Logo Pool Ball
_RealityKit_SwiftUI · IOS API REFERENCE

ObjectCaptureView

struct · iOS 17.0+ · SDK 27.1

@MainActor @preconcurrency struct ObjectCaptureView<Overlay> where Overlay : View

A view that guides a user through capturing images for object capture. The primary view of the Object Capture front-end 3D UI. This view is used to present the UI for a given ``ObjectCaptureSession``. It presents the current state of the wrapped session. The view can be taken down temporarily to show the ``RealityKit/ObjectCapturePointCloudView`` or an app's custom tutorial pages. If a ``ObjectCaptureView`` is removed from the content view, creating a new ``ObjectCaptureView`` from the original view's ``ObjectCaptureSession`` resumes the in-progress capture session.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

ObjectCaptureView.init(session:cameraFeedOverlay:)

callback cannot propagate synchronous failure

ObjectCaptureView.body

This protocol needs associated types that cannot yet cross the bridge.

All _RealityKit_SwiftUI types →