Instance Property


The size of the content view.


@property(nonatomic) CGSize contentSize;


The unit of size is points. The default size is CGSizeZero.

See Also

Managing the Content Size and Offset


The point at which the origin of the content view is offset from the origin of the scroll view.

- setContentOffset:animated:

Sets the offset from the content view’s origin that corresponds to the receiver’s origin.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software