preferredSupplementaryColumnWidthFraction
The relative width of the supplementary view controller’s content.
Declaration
var preferredSupplementaryColumnWidthFraction: CGFloat { get set }Discussion
Use this property to specify your preferred width for the supplementary view controller’s view. The value of this property is a floating-point number between 0.0 and 1.0 that represents the percentage of the overall width of the split view controller. For example, the value 0.4 represents 40% of the current width. The default value of this property is automaticDimension, which results in an appropriate width for the supplementary view controller.
The values in the minimumSupplementaryColumnWidth and maximumSupplementaryColumnWidth properties constrain the actual width of the supplementary 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 supplementary view controller’s view from the supplementaryColumnWidth property.
See Also
Managing column dimensions
isCollapsedpreferredPrimaryColumnWidthFractionpreferredPrimaryColumnWidthprimaryColumnWidthminimumPrimaryColumnWidthmaximumPrimaryColumnWidthpreferredSupplementaryColumnWidthsupplementaryColumnWidthminimumSupplementaryColumnWidthmaximumSupplementaryColumnWidthpreferredSecondaryColumnWidthpreferredSecondaryColumnWidthFractionminimumSecondaryColumnWidthpreferredInspectorColumnWidthpreferredInspectorColumnWidthFraction