2 Replies
      Latest reply on Dec 17, 2018 5:52 AM by GR_
      GR_ Level 1 Level 1 (0 points)

        Hello, I was wondering if anyone knew how to shut down ARKit correctly.

         

        I am using ARKit as a feature in my application, but when I leave "shut down" ARKit using ARSession.pause and then dismiss the view controller with my ARSCNView in it, I see that a CoreMotion thread is still active on the CPU.

         

        Is this a bug or an expected behavior? Furthermore, is there no other method other than the pause function to kill ARKit or is it expected that once the view controller is dimissed that all the relevant components of it will be destroyed via the garbage collector?

         

        Any help is appreciated.