Contents

splitViewController(_:willHide:)

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

Declaration

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

Parameters

  • svc:

    The split view controller whose column is being hidden.

  • column:

    The column to be hidden. 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 hide one of its columns; for example, when a person rotates the device. The system doesn’t call this method when you hide a column programmatically with hide(_:). Use this method to perform any customization associated with hiding the column. You can use the split view controller’s transitionCoordinator to coordinate any of your animations alongside the transition animation.

See Also

Collapsing the interface