|
@@ -16,9 +16,9 @@
|
|
@property (strong, nonatomic) photoPreViewBottomView *photoPreViewBottomV;
|
|
@property (strong, nonatomic) photoPreViewBottomView *photoPreViewBottomV;
|
|
|
|
|
|
@property (assign, nonatomic) BOOL canSetCurrentIndex;//
|
|
@property (assign, nonatomic) BOOL canSetCurrentIndex;//
|
|
-
|
|
|
|
-
|
|
|
|
@property (strong, nonatomic)TZVideoPreviewCell * curCell;
|
|
@property (strong, nonatomic)TZVideoPreviewCell * curCell;
|
|
|
|
+
|
|
|
|
+@property (assign, nonatomic) BOOL didChangeSelectIndexType;//是否重新选择过
|
|
@end
|
|
@end
|
|
|
|
|
|
@implementation PhotoPreviewViewController
|
|
@implementation PhotoPreviewViewController
|
|
@@ -72,7 +72,7 @@
|
|
- (void)backBtnPressed{
|
|
- (void)backBtnPressed{
|
|
[super backBtnPressed];
|
|
[super backBtnPressed];
|
|
|
|
|
|
- if(_changeSelectIndex){
|
|
|
|
|
|
+ if(_changeSelectIndex && _didChangeSelectIndexType){
|
|
_changeSelectIndex(_indexPathsForSelectedItems);
|
|
_changeSelectIndex(_indexPathsForSelectedItems);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -83,6 +83,8 @@
|
|
but.selected = !but.selected;
|
|
but.selected = !but.selected;
|
|
|
|
|
|
[self handlCellSelectFun];
|
|
[self handlCellSelectFun];
|
|
|
|
+
|
|
|
|
+ _didChangeSelectIndexType = YES;
|
|
}
|
|
}
|
|
|
|
|
|
#pragma mark 处理点击选中相关
|
|
#pragma mark 处理点击选中相关
|