-1

So basically the Delegation method func renderer(_ renderer: SCNSceneRenderer, nodeFor anchor: ARAnchor) -> SCNNode? aren't called on Swift Playgrounds.
I'm using an iPad Pro 11 (with Truedepth frontal-camera).
I tried to run the same code on Xcode, and I got it! But on Swift Playground I did not succeed.

I'm using this code

AtulParmar
  • 4,358
  • 1
  • 24
  • 45
  • 3
    Welcome to SO! Never include code as a screenshot in your question, [edit] your question to include all relevant code as text using proper code formatting. Code from a picture cannot be copied to be tested and isn't searchable. – Dávid Pásztor Mar 14 '19 at 23:24
  • Ok! Thank you for this suggestion. – Gustavo Garcia Mar 15 '19 at 12:50

1 Answers1

0

No, since you cannot run a playground on a real device and ARKit doesn't support the simulator.

Dávid Pásztor
  • 51,403
  • 9
  • 85
  • 116