Contents

prefersGrabberVisible

A Boolean value that determines whether the sheet shows a grabber at the top.

Declaration

var prefersGrabberVisible: Bool { get set }

Discussion

The default value is false, which means the sheet doesn’t show a grabber. A grabber is a visual affordance that indicates that a sheet is resizable. Showing a grabber may be useful when it isn’t apparent that a sheet can resize or when the sheet can’t dismiss interactively.

Set this value to true for the system to draw a grabber in the standard system-defined location. The system automatically hides the grabber at appropriate times, like when the sheet is full screen in a compact-height size class or when another sheet presents on top of it.

See Also

Managing the appearance