UIViewController.WillTransitionToTraitCollection 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.
Notifies this
that its trait collection will change to traitCollection
, as coordinated by coordinator
.
[Foundation.Export("willTransitionToTraitCollection:withTransitionCoordinator:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void WillTransitionToTraitCollection (UIKit.UITraitCollection traitCollection, UIKit.IUIViewControllerTransitionCoordinator coordinator);
abstract member WillTransitionToTraitCollection : UIKit.UITraitCollection * UIKit.IUIViewControllerTransitionCoordinator -> unit
override this.WillTransitionToTraitCollection : UIKit.UITraitCollection * UIKit.IUIViewControllerTransitionCoordinator -> unit
Parameters
- traitCollection
- UITraitCollection
The new trait collection.
- coordinator
- IUIViewControllerTransitionCoordinator
The IUIViewControllerTransitionCoordinator coordinating the transition.
Implements
- Attributes