Changes

An iOS 9 Multitasking Picture in Picture Tutorial

20 bytes removed, 20:34, 1 February 2016
m
Text replacement - "<google>BUY_IOS9</google>" to "<htmlet>ios9</htmlet>"
<googlehtmlet>BUY_IOS9ios9</googlehtmlet>
Figure 93-3
<googlehtmlet>BUY_IOS9ios9</googlehtmlet>
== Adding the Navigation Controller ==
}
</pre>
<googlehtmlet>BUY_IOS9ios9</googlehtmlet>
Having declared that the class implements the protocol, the prepareForSegue method now needs to be modified to assign the current instance of the class as the delegate for the player view controller instance:
If, on the other hand, the current view controller is the playerViewController, no action needs to be taken since the system will automatically display the player controller to show the movie in full screen. In fact, attempting to present the player view controller when it is already the current view controller will cause the app to crash with an error which reads as follows:
<googlehtmlet>BUY_IOS9ios9</googlehtmlet>
<pre>
Application tried to present modally an active view controller <AVPlayerViewController>
<googlehtmlet>BUY_IOS9ios9</googlehtmlet>