recommendedVideoFormatFor4KResolution
Provides a 4K video format if the device and configuration support it.
Declaration
class var recommendedVideoFormatFor4KResolution: ARConfiguration.VideoFormat? { get }Discussion
If the device and configuration support 4K, the returned video format is also present in the configuration’s supportedVideoFormats array.
This function returns nil if the device or configuration doesn’t support 4K, so you can call this function to determine whether to enable 4K for your session.