Fix controller not rotating

This commit is contained in:
Stanisław Chmiela 2016-04-01 12:34:52 +02:00
parent c39898be96
commit b030a5587b

View File

@ -443,7 +443,7 @@ static NSString *const playbackBufferEmptyKeyPath = @"playbackBufferEmpty";
[self usePlayerViewController];
}
// Set presentation style to fullscreen
[_playerViewController setModalPresentationStyle:UIModalPresentationOverFullScreen];
[_playerViewController setModalPresentationStyle:UIModalPresentationFullScreen];
// Find the nearest view controller
UIViewController *viewController = [self firstAvailableUIViewController];