From 9635a0d76bdc2a0955c5e19daeec1394f3afad71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Chmiela?= Date: Fri, 1 Apr 2016 13:04:16 +0200 Subject: [PATCH] Do not trigger unsatisfiable constraints alert when possible --- RCTVideo.m | 1 + 1 file changed, 1 insertion(+) diff --git a/RCTVideo.m b/RCTVideo.m index 4284f24d..56e962df 100644 --- a/RCTVideo.m +++ b/RCTVideo.m @@ -72,6 +72,7 @@ static NSString *const playbackBufferEmptyKeyPath = @"playbackBufferEmpty"; - (AVPlayerViewController*)createPlayerViewController:(AVPlayer*)player withPlayerItem:(AVPlayerItem*)playerItem { RCTVideoPlayerViewController* playerLayer= [[RCTVideoPlayerViewController alloc] init]; + playerLayer.showsPlaybackControls = NO; playerLayer.rctDelegate = self; playerLayer.view.frame = self.bounds; playerLayer.player = _player;