共用方式為


WKWebViewConfiguration.AllowsPictureInPictureMediaPlayback 屬性

定義

取得或設定布林值,控制是否允許 PIP 播放。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool AllowsPictureInPictureMediaPlayback { [Foundation.Export("allowsPictureInPictureMediaPlayback")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setAllowsPictureInPictureMediaPlayback:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.AllowsPictureInPictureMediaPlayback : bool with get, set

屬性值

屬性

適用於