UIViewController.DismissMoviePlayerViewController Method
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.
Dismisses the MPMoviePlayerViewController.
C#
[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
Along with PresentMoviePlayerViewController(MPMoviePlayerViewController), this method can be used to control the presentation and dismissal of a MPMoviePlayerViewController
Proizvod | Verzije |
---|---|
Xamarin iOS SDK | 12 |
- <xref:UIKit.UIViewController.PresentMoviePlayerViewController>