Contents

hide(_:)

Dismisses the view controller in the specified column of the split view interface.

Declaration

func hide(_ column: UISplitViewController.Column)

Parameters

  • column:

    The corresponding column of the split view interface to hide. See Column for values.

Discussion

When you call this method, the split view interface transitions to the closest display mode available for the current split behavior where the specified column is hidden.

This method does not support hiding the UISplitViewController.Column.secondary column.

After you call this method, you can use the split view controller’s transitionCoordinator to coordinate any of your animations alongside the transition animation.

See Also

Displaying the child view controllers