編集

次の方法で共有


UIViewController.GetOverrideTraitCollectionForChildViewController Method

Definition

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

Applies to