isActive
A flag that indicates whether coaching is in progress.
Declaration
var isActive: Bool { get }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 false. If the animated property of setActive(_:animated:) is true, isActive and isHidden are false 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(_:).