ARConfiguration.supportedVideoFormats empty on iOS 11.3 ARKit 1.5

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.

Replies

Anyone ?

I just saw this thread and it's probably too late but I think the supportedVideoFormats are related to the type of configuration.


Have you tried this:

ARWorldTrackingConfiguration.supportedVideoFormats