Fix controller not rotating
This commit is contained in:
parent
c39898be96
commit
b030a5587b
@ -443,7 +443,7 @@ static NSString *const playbackBufferEmptyKeyPath = @"playbackBufferEmpty";
|
|||||||
[self usePlayerViewController];
|
[self usePlayerViewController];
|
||||||
}
|
}
|
||||||
// Set presentation style to fullscreen
|
// Set presentation style to fullscreen
|
||||||
[_playerViewController setModalPresentationStyle:UIModalPresentationOverFullScreen];
|
[_playerViewController setModalPresentationStyle:UIModalPresentationFullScreen];
|
||||||
|
|
||||||
// Find the nearest view controller
|
// Find the nearest view controller
|
||||||
UIViewController *viewController = [self firstAvailableUIViewController];
|
UIViewController *viewController = [self firstAvailableUIViewController];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user