presentationDimensions(usePixelAspectRatio:useCleanAperture:)
Returns the dimensions to take the pixel aspect ratio or clean aperture into account.
Declaration
func presentationDimensions(usePixelAspectRatio: Bool = true, useCleanAperture: Bool = true) -> CGSizeParameters
- usePixelAspectRatio:
If
true, the function computes the dimensions maintaining the pixel aspect ratio. - useCleanAperture:
If
true, the function computes the dimensions using the clean aperture.