lxy 1 rok temu
rodzic
commit
8511c7f2c8

+ 1 - 1
LenzCameraNativeModuleForRN/Classes/inner/PCSBaseViewController/PCSPreviewViewController.m

@@ -97,7 +97,7 @@
     if (!_player) {
         _player = [[AVPlayerViewController alloc]init];
         _player.view.hidden = YES;
-//        _player.videoGravity = AVLayerVideoGravityResizeAspectFill;
+        _player.videoGravity = AVLayerVideoGravityResizeAspect;
     }
     return _player;
 }