Hi,
Xcode gives me an error when I try to connect automaticallyConfigureSession with arView., it also can't find ARWorldTrackingConfiguration in configuration. Someone an idea of what I'm doing wrong?
> override func viewDidAppear( _ animated: Bool){
>
> super.viewDidAppear(animated)
>
> setupARView()
>
> }
>
> // MARK: Setup Methodes
>
> func setupARView() {
>
> arView.automaticallyConfigureSession = false
>
> let configuration = ARWorldTrackingconfiguration()
>
> configuration.planeDetection = [.horizontal, .vertical]
>
> configuration.eviromentTexturing = .automatic
>
> arView.session.run(configuration)
>
> }
>
> }
Xcode gives me an error when I try to connect automaticallyConfigureSession with arView., it also can't find ARWorldTrackingConfiguration in configuration. Someone an idea of what I'm doing wrong?
> override func viewDidAppear( _ animated: Bool){
>
> super.viewDidAppear(animated)
>
> setupARView()
>
> }
>
> // MARK: Setup Methodes
>
> func setupARView() {
>
> arView.automaticallyConfigureSession = false
>
> let configuration = ARWorldTrackingconfiguration()
>
> configuration.planeDetection = [.horizontal, .vertical]
>
> configuration.eviromentTexturing = .automatic
>
> arView.session.run(configuration)
>
> }
>
> }