prefersEdgeAttachedInCompactHeight
A Boolean value that determines whether the sheet attaches to the bottom edge of the screen in a compact-height size class.
Declaration
var prefersEdgeAttachedInCompactHeight: Bool { get set }Discussion
The default value is false, which means the sheet defaults to a full screen appearance at compact height. Set this value to true to use an alternate appearance in a compact-height size class, causing the sheet to only attach to the screen on its bottom edge.