UISplitViewController.ViewControllers UISplitViewController.ViewControllers Property

Definition

The array of UIViewControllers managed by this UISplitViewController.

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

Property Value

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