Higher resolution on iOS 11.3 👀 👁 👌

Hi,


I know that I can enable autofocus in AR apps with

var isAutoFocusEnabled: Bool { get set }

var configuration = ARWorldTrackingConfiguration() configuration.isAutoFocusEnabled = true // or false


How to turn on 50% higher resolution mentioned in the newest ios release note ?


Regards !

Replies

I'm a bit slow, but you simply just check `configuration.videoFormat`:


https://developer.apple.com/documentation/arkit/arconfiguration/2942260-videoformat?changes=latest_minor&language=objc


To see what video formats are available, there's a class variable called `supportedVideoFormats` that contain an array of them:


https://developer.apple.com/documentation/arkit/arconfiguration/2942261-supportedvideoformats?changes=latest_minor&language=objc


From what I can tell, the default is now 1080p (1920x1080) vs the previous 720p (1280x720), so if you're on ARKit 1.5, you'll automatically be on the higher resolution.