Commit b030a558 authored by Stanisław Chmiela's avatar Stanisław Chmiela
Browse files

Fix controller not rotating

parent c39898be
Loading
Loading
Loading
Loading
+1 −1
Changes for RCTVideo.m: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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];