Returns the child view controller that is consulted about its preference for displaying a visual indicator for returning to the Home screen.
- iOS 11.0+
- Mac Catalyst 13.0+
The child view controller to consult. The default implementation of this method returns
When implementing a container view controller, override this method if you want one your child view controllers to determine whether to display the visual indicator. If you do, the system calls the
prefers method of the returned view controller. If the method returns
nil, the system calls the
prefers method of the current view controller.