setActive(_:animated:)
Controls whether coaching is in progress.
Declaration
func setActive(_ active: Bool, animated: Bool)Parameters
Discussion
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(_:).