SPTScrollViewScrubberAlignment Constants Reference
| Declared in | SPTScrollViewScrubberController.h |
SPTScrollViewScrubberAlignment
Scrubber alignment for non-active axis.
Definition
typedef NS_ENUM(NSUInteger, SPTScrollViewScrubberAlignment ) {
SPTScrollViewScrubberAlignmentNone = 0,
SPTScrollViewScrubberAlignmentBegin,
SPTScrollViewScrubberAlignmentMiddle,
SPTScrollViewScrubberAlignmentEnd,
SPTScrollViewScrubberAlignmentNearestEdge,
};
Constants
SPTScrollViewScrubberAlignmentNone-
Do not align, leave the frame.origin.x/y as is.
Declared In
SPTScrollViewScrubberController.h. SPTScrollViewScrubberAlignmentBegin-
Align to the left/top edge, set frame.origin.x/y to the edge inset.
Declared In
SPTScrollViewScrubberController.h. SPTScrollViewScrubberAlignmentMiddle-
insets.
Declared In
SPTScrollViewScrubberController.h. SPTScrollViewScrubberAlignmentEnd-
views bounds.size.width/height - edge inset - frame.size.width/height.
Declared In
SPTScrollViewScrubberController.h. SPTScrollViewScrubberAlignmentNearestEdge-
Align to the nearest edge.
Declared In
SPTScrollViewScrubberController.h.
Declared In
SPTScrollViewScrubberController.h