UIViewController.PresentMoviePlayerViewController Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Displays a movie controller using the standard transition.
[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
Parameters
- moviePlayerViewController
- MPMoviePlayerViewController
The MPMoviePlayerViewController to be presented.
- Attributes
Remarks
Along with DismissMoviePlayerViewController(), this method can be used to control the presentation and dismissal of a MPMoviePlayerViewController