Instance Property

parallaxOffset

The number of points by which to shift the background from the center when moving focus.

Declaration

var parallaxOffset: CGFloat { get set }

Discussion

A larger offset value creates a more dramatic parallax effect, and a smaller offset value creates a less dramatic effect.

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