Instance Property

isActive

A flag that indicates whether coaching is in progress.

Declaration

@property(nonatomic, readonly) BOOL isActive;

Discussion

If activatesAutomatically is enabled, this flag tells you whether coaching is in progress. Assign a delegate to coordinate your actions with the coaching overlay and allow coachingOverlayViewWillActivate: to notify you when the coaching overlay is active.

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 notifies you by calling coachingOverlayViewDidDeactivate:.

See Also

Activiting the View

activatesAutomatically

A flag that indicates whether the coaching view activates automatically, depending on the current session state.

- setActive:animated:

Controls whether coaching is in progress.