|
@@ -464,7 +464,7 @@
|
|
|
[weakSelf gotoDownLoadFileFun:NO];
|
|
|
}
|
|
|
else if (tag == 12){
|
|
|
- [weakSelf delFileListFun];
|
|
|
+ [weakSelf showDeleteAlearViewFun];
|
|
|
}
|
|
|
};
|
|
|
}
|
|
@@ -489,7 +489,7 @@
|
|
|
[weakSelf gotoDownLoadFileFun:YES];
|
|
|
}
|
|
|
else if (tag == 12){
|
|
|
- [weakSelf delFileListFun];
|
|
|
+ [weakSelf didClickDeleteInLandscapeFun];
|
|
|
}
|
|
|
};
|
|
|
|
|
@@ -498,6 +498,15 @@
|
|
|
|
|
|
}
|
|
|
|
|
|
+#pragma mark 横屏点击删除
|
|
|
+- (void)didClickDeleteInLandscapeFun
|
|
|
+{
|
|
|
+ //横屏的删除 要转竖屏
|
|
|
+ [self.player rotateToOrientation:UIInterfaceOrientationPortrait animated:NO completion:^{
|
|
|
+ [self screenLandscapeToPortraitFun];
|
|
|
+ [self showDeleteAlearViewFun];
|
|
|
+ }];
|
|
|
+}
|
|
|
|
|
|
#pragma mark 视频可以播放 加入最近文件
|
|
|
- (void)videoPlayerDidFun{
|
|
@@ -566,9 +575,9 @@
|
|
|
|
|
|
curAlretVC.modalPresentationStyle = UIModalPresentationCustom;
|
|
|
|
|
|
- [self presentViewController:curAlretVC animated:YES completion:^{
|
|
|
- curAlretVC.view.superview.backgroundColor = [UIColor clearColor];
|
|
|
- }];
|
|
|
+ [self presentViewController:curAlretVC animated:YES completion:^{
|
|
|
+ curAlretVC.view.superview.backgroundColor = [UIColor clearColor];
|
|
|
+ }];
|
|
|
}
|
|
|
|
|
|
|