Share via


AVPlayerViewController.EntersFullScreenWhenPlaybackBegins 属性

定义

获取或设置一个布尔值,该值控制视图控制器在播放开始时是否进入全屏。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool EntersFullScreenWhenPlaybackBegins { [Foundation.Export("entersFullScreenWhenPlaybackBegins")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setEntersFullScreenWhenPlaybackBegins:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.EntersFullScreenWhenPlaybackBegins : bool with get, set

属性值

属性

适用于