Compartir a través de


UIViewController.PresentMoviePlayerViewController Método

Definición

Muestra un controlador de película mediante la transición estándar.

[Foundation.Export("presentMoviePlayerViewControllerAnimated:")]
[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 PresentMoviePlayerViewController (MediaPlayer.MPMoviePlayerViewController moviePlayerViewController);
abstract member PresentMoviePlayerViewController : MediaPlayer.MPMoviePlayerViewController -> unit
override this.PresentMoviePlayerViewController : MediaPlayer.MPMoviePlayerViewController -> unit

Parámetros

moviePlayerViewController
MPMoviePlayerViewController

que MPMoviePlayerViewController se va a presentar.

Atributos

Comentarios

Junto con DismissMoviePlayerViewController(), este método se puede usar para controlar la presentación y el descarte de un MPMoviePlayerViewController

Se aplica a