Contents

maximumPrimaryColumnWidth

The maximum width, in points, for the primary view controller’s content.

Declaration

var maximumPrimaryColumnWidth: CGFloat { get set }

Discussion

Use this property in conjunction with the minimumPrimaryColumnWidth property to ensure the width of the primary view controller’s content is set to an acceptable value. The preliminary width is specified by the preferredPrimaryColumnWidthFraction property, which is applied to the split view controller’s width and checked against these bounds. If the resulting width is greater than the maximum value specified by this property, the width is set to the value in this property.

The default value of this property is automaticDimension, which corresponds to a minimum width of 320 points.

See Also

Managing column dimensions