Instance Property

isVertical

The geometric orientation of the split view's dividers, where YES results in vertical dividers and side-by-side views.

Declaration

var isVertical: Bool { get set }

Discussion

The default value of this property is false, indicating horizontal dividers and, consequently, views that are stacked one above the other (from top to bottom) in the containing split view controller’s view.

To specify vertical dividers and, consequently, horizontal (side-by-side) arrangement of views within a split view controller, implement this property to return true.