Commit 628ff3e3b6a4e10d1510e02fdb87fc192cfa7a24
1 parent
371ac976
非视频不转屏
Showing
1 changed file
with
1 additions
and
4 deletions
CNLiveScioLive/Pages/Live/Controller/VideoPlayBackViewController.m
| ... | ... | @@ -677,10 +677,7 @@ |
| 677 | 677 | [super didReceiveMemoryWarning]; |
| 678 | 678 | } |
| 679 | 679 | - (BOOL)shouldAutorotate { |
| 680 | -// if (![[[NSUserDefaults standardUserDefaults] objectForKey:@"ZXVideoPlayer_DidPlayBack"] boolValue]) { | |
| 681 | -// return [[[NSUserDefaults standardUserDefaults] objectForKey:@"ZXVideoPlayer_DidPlayBack"] boolValue]; | |
| 682 | -// } | |
| 683 | - return ![[[NSUserDefaults standardUserDefaults] objectForKey:@"ZXVideoPlayer_DidLockScreen"] boolValue]; | |
| 680 | + return isPlay; | |
| 684 | 681 | } |
| 685 | 682 | - (UIInterfaceOrientationMask)supportedInterfaceOrientations { |
| 686 | 683 | return UIInterfaceOrientationMaskAllButUpsideDown; | ... | ... |