From ae3429cf525a0241d84ea9aaab98e81a3fe8505f Mon Sep 17 00:00:00 2001 From: Baris Sencan Date: Wed, 9 Dec 2015 18:13:10 -0800 Subject: [PATCH] [MobilePlayerViewController] Improve play and pause documentation --- MobilePlayer/MobilePlayerViewController.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MobilePlayer/MobilePlayerViewController.swift b/MobilePlayer/MobilePlayerViewController.swift index 9121c6c..d9c2bf7 100644 --- a/MobilePlayer/MobilePlayerViewController.swift +++ b/MobilePlayer/MobilePlayerViewController.swift @@ -286,11 +286,16 @@ public class MobilePlayerViewController: MPMoviePlayerViewController { } /// Initiates playback of current content. + /// + /// Starting playback causes dismiss to be called on prerollViewController, pauseOverlayViewController + /// and postrollViewController. public func play() { moviePlayer.play() } /// Pauses playback of current content. + /// + /// Pausing playback causes pauseOverlayViewController to be shown. public func pause() { moviePlayer.pause() }