Instance Method

coachingOverlayViewDidDeactivate:

Tells you when the coaching experience is completely deactivated.

Declaration

- (void)coachingOverlayViewDidDeactivate:(ARCoachingOverlayView *)coachingOverlayView;

Discussion

Implement this function to do any custom actions your app requires to begin the AR experience. For example, when coaching is deactivated, your app might restore custom UI.

When the coaching overlay is deactivating, isActive is NO. If the animated property of setActive:animated: is YES, isActive and hidden are NO while the coaching overlay is fading out. When the coaching overlay is deactivated without animation, or when the animation finishes, ARKit sends a coachingOverlayViewDidDeactivate: notification.

See Also

Enabling Coaching

- coachingOverlayViewWillActivate:

Tells you when the coaching overlay view activates.