Hi,
Is there a way to set LiDAR as a Required Device Capability ?
Hi,
Is there a way to set LiDAR as a Required Device Capability ?
I don't think there is, but you can show users with devices that don't support lidar a view saying your app won't work on their device.
You can check if the user's device supports lidar like this:
import ARKit
let supportLiDAR = ARWorldTrackingConfiguration.supportsSceneReconstruction(.mesh)
guard supportLiDAR else {
print("LiDAR isn't supported here")
return
}
https://stackoverflow.com/questions/66383288/check-if-ios-device-has-lidar-in-swift
Would this one help? Ensuring device support static var isSupported: Bool