sessionInterruptionEnded(_:)
Tells the delegate that the session has resumed processing frames and tracking device position.
Declaration
optional func sessionInterruptionEnded(_ session: ARSession)Parameters
- session:
The session providing information.
Discussion
After a session has been interrupted (see the sessionWasInterrupted(_:) delegate method), it automatically resumes running whenever the conditions that caused the interruption improve.
When a session resumes, it continues tracking from its last known state. However, if the device has moved since the interruption began, the ARKit world coordinate system and anchor positions no longer match their original real-world frame of reference. To attempt recovery of world tracking from before the interruption, implement the sessionShouldAttemptRelocalization(_:) delegate method.