UIViewController.GetOverrideTraitCollectionForChildViewController Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the UITraitCollection for the specified child view controller of this controller.
[Foundation.Export("overrideTraitCollectionForChildViewController:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UITraitCollection GetOverrideTraitCollectionForChildViewController (UIKit.UIViewController childViewController);
abstract member GetOverrideTraitCollectionForChildViewController : UIKit.UIViewController -> UIKit.UITraitCollection
override this.GetOverrideTraitCollectionForChildViewController : UIKit.UIViewController -> UIKit.UITraitCollection
Parameters
- childViewController
- UIViewController
Array of view controllers that are children of the receiver in a view controller hierarchy.
Returns
Gets the specified child view controller.
- Attributes