From b030a5587b6e4fd2db5dbd1d75737191eaa2333b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Chmiela?= Date: Fri, 1 Apr 2016 12:34:52 +0200 Subject: [PATCH] Fix controller not rotating --- RCTVideo.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RCTVideo.m b/RCTVideo.m index a57f67d9..f8d920f9 100644 --- a/RCTVideo.m +++ b/RCTVideo.m @@ -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];