ARKit or RealityKit

In visionOS, ARKit is to integrate virtual and reality. However, most of the functions RealityKit can be easily implemented (except for Scene reconstruction, Room Tracking and enterprise API), so do I still need to use ARKit? Is there any difference between them?

Answered by Vision Pro Engineer in 812498022

Hi @lijiaxu ,

You're exactly right.

https://developer.apple.com/documentation/visionos/bringing-your-arkit-app-to-visionos describes how to move from ARKit to RealityKit if you're moving your app from iOS to visionOS, so it's got a lot of the answers there too, but as far as what you should use, you should stick to RealityKit for whatever you can.

One note, the article mentions that you need to use ARKit for the following items, but in visionOS 2, you can use RealityKit for them with SpatialTrackingSession

Plane detection
Image tracking
Scene reconstruction
Hand tracking
World tracking and device-pose prediction
Accepted Answer

Hi @lijiaxu ,

You're exactly right.

https://developer.apple.com/documentation/visionos/bringing-your-arkit-app-to-visionos describes how to move from ARKit to RealityKit if you're moving your app from iOS to visionOS, so it's got a lot of the answers there too, but as far as what you should use, you should stick to RealityKit for whatever you can.

One note, the article mentions that you need to use ARKit for the following items, but in visionOS 2, you can use RealityKit for them with SpatialTrackingSession

Plane detection
Image tracking
Scene reconstruction
Hand tracking
World tracking and device-pose prediction
ARKit or RealityKit
 
 
Q