preferredPrimaryColumnWidth
The preferred width, in points, of the primary view controller’s content.
Declaration
var preferredPrimaryColumnWidth: CGFloat { get set }Discussion
Use this property to specify your preferred width for the primary view controller’s view. The default value of this property is automaticDimension. If you set this property to a value different from automaticDimension, that value takes precedence over preferredPrimaryColumnWidthFraction.
The values in the minimumPrimaryColumnWidth and maximumPrimaryColumnWidth properties constrain the actual width of the primary view controller. The split view controller attempts to use the width you specify, but may change this value to accommodate the available space. You can get the actual width for the primary view controller’s view from the primaryColumnWidth property.
See Also
Managing column dimensions
isCollapsedpreferredPrimaryColumnWidthFractionprimaryColumnWidthminimumPrimaryColumnWidthmaximumPrimaryColumnWidthpreferredSupplementaryColumnWidthFractionpreferredSupplementaryColumnWidthsupplementaryColumnWidthminimumSupplementaryColumnWidthmaximumSupplementaryColumnWidthpreferredSecondaryColumnWidthpreferredSecondaryColumnWidthFractionminimumSecondaryColumnWidthpreferredInspectorColumnWidthpreferredInspectorColumnWidthFraction