Build AR experiences on iOS using RealityKit for rendering and ARKit for world tracking. Covers RealityView, entity management, raycasting, scene understanding, and gesture-based interactions. Targets Swift 6.2 / iOS 26+.
AR features require devices with an A9 chip or later. Always verify support before presenting AR UI.
| RealityView | iOS 18+, visionOS 1+ | SwiftUI view that hosts RealityKit content | | RealityViewCameraContent | iOS 18+, macOS 15+ | Content displayed through the device camera | | Entity | All | Base class for all scene objects | | ModelEntity | All | Entity with a visible 3D model | | AnchorEntity | All | Tethers entities to a real-world anchor |
Crea esperienze di realtà aumentata con RealityKit e ARKit su iOS. Da utilizzare quando si aggiungono contenuti 3D con RealityView, si caricano entità e modelli, si posizionano oggetti tramite raycasting, si configurano sessioni di telecamere AR, si gestisce il tracciamento del mondo, la comprensione della scena o si implementano interazioni e gesti delle entità. Fonte: dpearson2699/swift-ios-skills.