UIViewController.PreferredStatusBarUpdateAnimation 属性

定义

隐藏和显示状态栏的首选动画样式。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIStatusBarAnimation PreferredStatusBarUpdateAnimation { [Foundation.Export("preferredStatusBarUpdateAnimation")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.PreferredStatusBarUpdateAnimation : UIKit.UIStatusBarAnimation

属性值

要采用的状态栏动画的样式。

属性

注解

这是 UIStatusBarAnimation 枚举中的常量之一。

适用于