public final class UIScrollViewContentInsetAdjustmentBehavior
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static long |
Always
contentInset is always adjusted by the scroll view's safeAreaInsets
|
static long |
Automatic
Similar to .scrollableAxes, but for backward compatibility will also adjust the top & bottom contentInset when the scroll view is owned by a view controller with automaticallyAdjustsScrollViewInsets = YES inside a navigation controller, regardless of whether the scroll view is scrollable
|
static long |
Never
contentInset is not adjusted
|
static long |
ScrollableAxes
Edges for scrollable axes are adjusted (i.e., contentSize.width/height > frame.size.width/height or alwaysBounceHorizontal/Vertical = YES)
|
public static final long Automatic
public static final long ScrollableAxes
public static final long Never
public static final long Always