編輯

共用方式為


UIViewController.DismissMoviePlayerViewController Method

Definition

[Foundation.Export("dismissMoviePlayerViewControllerAnimated")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'AVPlayerViewController' (AVKit) instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DismissMoviePlayerViewController ();
abstract member DismissMoviePlayerViewController : unit -> unit
override this.DismissMoviePlayerViewController : unit -> unit
Attributes

Remarks

Along with PresentMoviePlayerViewController(MPMoviePlayerViewController), this method can be used to control the presentation and dismissal of a MPMoviePlayerViewController

Applies to

See also

  • <xref:UIKit.UIViewController.PresentMoviePlayerViewController>