The source image buffer's clean aperture is scaled to a rectangle fitted inside the destination clean aperture that preserves the source picture aspect ratio.
- iOS 9.0+
- macOS 10.8+
- Mac Catalyst 13.0+Beta
- tvOS 10.2+
The remainder of the destination image buffer is filled with black. If a destination pixel aspect ratio is not set, the source image's pixel aspect ratio is used. The pixel aspect ratio used is set on the destination image buffer.
The full width and height of the source image buffer is stretched to the full width and height of the destination image buffer.
The source image buffer's clean aperture is scaled to a rectangle that completely fills the destination clean aperture and preserves the source picture aspect ratio.
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