As the title says, I have been trying to set a lower image resolution on a iphone 6S Plus iOS 11.3 ARKit 1.5.
let standardConfiguration: ARWorldTrackingConfiguration = {
let configuration = ARWorldTrackingConfiguration()
configuration.planeDetection = .horizontal
if #available(iOS 11.3, *) {
for format in ARConfiguration.supportedVideoFormats { //<- never enters the loop
dump("Supported video format: \(format)")
}
}
return configuration
}()
I have been bumping my head around this issue for a few days with no clue what I am doing wrong.
Could somebody tell me why the
ARConfiguration.supportedVideoFormats
is empty ?
Thanks in advance.