Sets the offset from the content view’s origin that corresponds to the receiver’s origin.
SDKs
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- UIKit
Sets the offset from the content view’s origin that corresponds to the receiver’s origin.
SDKs
Framework
var content Size: CGSize
The size of the content view.
var content Offset: CGPoint
The point at which the origin of the content view is offset from the origin of the scroll view.