WKWebViewConfiguration.MediaPlaybackAllowsAirPlay 属性

定义

开发人员不应使用此已弃用的属性。 开发人员应改用“AllowsAirPlayForMediaPlayback”。

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'AllowsAirPlayForMediaPlayback' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'AllowsAirPlayForMediaPlayback' instead.")]
public virtual bool MediaPlaybackAllowsAirPlay { [Foundation.Export("mediaPlaybackAllowsAirPlay")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'AllowsAirPlayForMediaPlayback' instead.")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'AllowsAirPlayForMediaPlayback' instead.")] get; [Foundation.Export("setMediaPlaybackAllowsAirPlay:")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'AllowsAirPlayForMediaPlayback' instead.")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'AllowsAirPlayForMediaPlayback' instead.")] set; }
member this.MediaPlaybackAllowsAirPlay : bool with get, set

属性值

属性

适用于