Contents

scrollEdgeAppearance

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

Declaration

@NSCopying var scrollEdgeAppearance: 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 standard-height toolbars. If the value of this property is nil, UIKit uses the value of the standardAppearance property, modified to have a transparent background. If no navigation controller manages your toolbar, UIKit ignores this property and uses the tool bar’s standard appearance.

See Also

Customizing appearance