UISplitViewController.ViewControllers Property

Definition

The array of UIViewControllers managed by this UISplitViewController.

public virtual UIKit.UIViewController[] ViewControllers { [Foundation.Export("viewControllers", ObjCRuntime.ArgumentSemantic.Copy)] get; [Foundation.Export("setViewControllers:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.ViewControllers : UIKit.UIViewController[] with get, set

Property Value

Attributes

Remarks

Unlike earlier iOS versions, setting this property under iOS 5.1 will trigger ShouldHideViewController immediately. Since it's default return value might not match what you want it is important that the Delegate property or all the events be set before using ViewControllers.

Applies to