|
@@ -581,10 +581,20 @@
|
|
|
- (void)didClickDeleteInLandscapeFun
|
|
|
{
|
|
|
//横屏的删除 要转竖屏
|
|
|
+// [self.player rotateToOrientation:UIInterfaceOrientationPortrait animated:NO completion:^{
|
|
|
+// [self screenLandscapeToPortraitFun];
|
|
|
+// [self showDeleteAlearViewFun];
|
|
|
+// }];
|
|
|
+
|
|
|
+ //修复iOS15 bug
|
|
|
[self.player rotateToOrientation:UIInterfaceOrientationPortrait animated:NO completion:^{
|
|
|
- [self screenLandscapeToPortraitFun];
|
|
|
- [self showDeleteAlearViewFun];
|
|
|
}];
|
|
|
+
|
|
|
+ KWeakSelf
|
|
|
+ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
+ [weakSelf screenLandscapeToPortraitFun];
|
|
|
+ [weakSelf showDeleteAlearViewFun];
|
|
|
+ });
|
|
|
}
|
|
|
|
|
|
#pragma mark 视频可以播放 加入最近文件
|
|
@@ -649,7 +659,7 @@
|
|
|
_editShareV = nil;
|
|
|
}
|
|
|
|
|
|
-#pragma mark 删除图片
|
|
|
+#pragma mark 删除视频
|
|
|
- (void)showDeleteAlearViewFun
|
|
|
{
|
|
|
NSString *titleStr = NSLocalizedString(@"delete_file_title_msg",nil);
|