UIKit.UIViewController.SetOverrideTraitCollection Method
Sets the UIKit.UITraitCollection object for the specified child view controller of this controller.

Syntax

[Foundation.Export("setOverrideTraitCollection:forChildViewController:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_8_0)]
public virtual void SetOverrideTraitCollection (UITraitCollection collection, UIViewController childViewController)

Parameters

collection
New traits that are to be applied to the specified child view controller.
childViewController
Child view controller whose trait collection is to be modified.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0