Defines the axes in which the layer may be scrolled.
SDKs
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Core Animation
Declaration
@property(copy) CAScroll Layer Scroll Mode scrollMode;
Discussion
The possible values are described in Scroll Modes. The default is k
.