Contents

compactScrollEdgeAppearance

The appearance settings for a compact-height toolbar when the edge of any scrollable content aligns with the edge of a compact-height toolbar.

Declaration

@NSCopying var compactScrollEdgeAppearance: UIToolbarAppearance? { get set }

Discussion

When a navigation controller contains a toolbar and a scroll view, part of the scroll view’s content appears underneath the toolbar. If the edge of the scrolled content reaches the toolbar, UIKit applies the appearance settings in this property.

This property applies to compact-height toolbars. If the value of this property is nil, UIKit uses the value of the scrollEdgeAppearance property. If no navigation controller manages your toolbar, UIKit ignores this property and uses the value of the compactAppearance property.

See Also

Customizing appearance