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 |
Cree experiencias de realidad aumentada con RealityKit y ARKit en iOS. Úselo al agregar contenido 3D con RealityView, cargar entidades y modelos, colocar objetos mediante raycasting, configurar sesiones de cámara AR, manejar el seguimiento del mundo, comprender escenas o implementar interacciones y gestos de entidades. Fuente: dpearson2699/swift-ios-skills.