On updating my existing AR application code (written using ARKit and SceneKit), I am getting below error while trying to initialize ARConfiguration:
// ARConfiguration() - init() is unavailable.
How to resolve this?
On updating my existing AR application code (written using ARKit and SceneKit), I am getting below error while trying to initialize ARConfiguration:
// ARConfiguration() - init() is unavailable.
How to resolve this?
Apple's documentation of
ARConfiguration
says:Seems Apple wants to make this an abstract class, so
init()
has made unavailable.Can't you use any of its concrete subclasses,
ARWorldTrackingConfiguration
orAROrientationTrackingConfiguration
?