Condividi tramite


UIViewController.PresentMoviePlayerViewController Metodo

Definizione

Visualizza un controller di film usando la transizione standard.

[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

Parametri

moviePlayerViewController
MPMoviePlayerViewController

Oggetto MPMoviePlayerViewController da presentare.

Attributi

Commenti

Insieme a DismissMoviePlayerViewController(), questo metodo può essere usato per controllare la presentazione e l'chiusura di un oggetto MPMoviePlayerViewController

Si applica a