Contents

splitViewController(_:willShow:)

Tells the delegate that the specified column is about to be shown.

Declaration

optional func splitViewController(_ svc: UISplitViewController, willShow column: UISplitViewController.Column)

Parameters

  • svc:

    The split view controller whose column is being shown.

  • column:

    The column to be shown. See Column for possible values.

Discussion

This delegate method only applies to column-style split view interfaces. For more information, see Split view styles.

The split view controller calls this method when the system is preparing to show one of its columns; for example, when a person rotates the device. The system doesn’t call this method when you display the column programmatically with show(_:). Use this method to perform any customization associated with showing the column. You can use the split view controller’s transitionCoordinator to coordinate any of your animations alongside the transition animation.

See Also

Expanding the interface