Bewerken

Delen via


UIViewController.RotatingHeaderView Property

Definition

The header view that needs to be transitioned during an interface rotation.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use Adaptive View Controllers instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIView RotatingHeaderView { [Foundation.Export("rotatingHeaderView")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use Adaptive View Controllers instead.")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.RotatingHeaderView : UIKit.UIView

Property Value

The default value is the navigation bar if one exists, otherwise null.

Attributes

Remarks

Subtypes of UIViewController that define their own header view should override this if they support rotation.

UIViewControllers that contain a navigation bar should return the navigation bar UIView from this method.

Applies to

See also