Returns a Boolean indicating whether the system is allowed to hide the visual indicator for returning to the Home screen.
SDKs
- iOS 11.0+
- Mac Catalyst 13.0+
Framework
- UIKit
Declaration
var prefersHomeIndicatorAutoHidden: Bool { get }
Return Value
true
if your view controller lets the system determine when to hide the indicator, or false
if you want the indicator shown at all times. The default implementation of this method returns false
.
Discussion
Override this method to signal your preference for displaying the visual indicator. The system takes your preference into account, but returning true
is no guarantee that the indicator will be hidden.