A view that presents visual instructions that guide the user during session initialization and in limited tracking situations.
- iOS 13.0+
This view offers your users a standardized on-boarding routine. You can configure this view to automatically display during session initialization and in limited tracking situations, while giving the user specific instructions that best facilitate ARKit's world tracking.
When you start your app, the coaching overlay asks the user to move the device in ways that help ARKit establish tracking. When you choose a specific goal like finding a plane, the view tailors its instructions accordingly. If your app needs to relocalize, the view guides the user to assist ARKit with relocalization. After the coaching overlay determines the goal has been met and no further coaching is required, it hides from the user's view.
For an example app that uses the coaching overlay, see Placing Objects and Handling 3D Interaction.
Support Automatic Coaching
activates is enabled and therefore you should override
coaching to determine whether coaching is in progress. If interruptions cause ARKit to relocalize, coaching overlay will reappear and present helpful instructions to the user. Coordinate your actions to help the user focus on these instructions, for example, by hiding any UI that's not necessary during session initialization.