视频录制bug修复

This commit is contained in:
kai60
2020-10-19 22:17:35 +08:00
parent 52c13cc416
commit 0611c6147b
12 changed files with 85 additions and 34 deletions
+1 -1
View File
@@ -519,7 +519,7 @@ CGAffineTransform GetCGAffineTransformRotateAroundPoint(float centerX, float ce
}
+ (BOOL)isIphoneX {
if(UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
return [[UIScreen mainScreen] bounds].size.height >= 812.0f;
return ([[UIApplication sharedApplication] statusBarFrame].size.height> 20);
}else{
return NO;
}