UISplitViewController.ViewControllers UISplitViewController.ViewControllers Property


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


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