Contents

aspectRatio

The width-to-height ratio of the portal frame.

Declaration

var aspectRatio: Double? { get set }

Discussion

Common aspect ratios include:

  • 1.78 (16:9) for standard widescreen content

  • 2.35 or 2.39 for cinematic widescreen content

  • 1.33 (4:3) for traditional content

When this property is nil, the system defaults to a 16:9 (1.78) aspect ratio.