Commit 2bf26c46 authored by 管鹏飞's avatar 管鹏飞

删除照片 Sandy

parent 6762b7ed
......@@ -130,6 +130,7 @@ static HGPhWViewController *_instance = nil;
}
- (void)photoWallPhotoDel:(NSUInteger)index {
[_photoWall deletePhotoByIndex:index];
[[JavenImages shareInstance].imageArr removeObjectAtIndex:index];
}
- (void)delCoverV {
......
......@@ -132,12 +132,9 @@ typedef NS_ENUM(NSUInteger, feedbackCellInfo){
[imgV addGestureRecognizer:tpGes];
[backView addSubview:imgV];
_headImageView = imgV;
//if ([JavenImages shareInstance].imageArr.count > 0) {
imgV.frame = backView.frame;
//imgV.image = [JavenImages shareInstance].imageArr[0];
UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
btn.frame = (CGRect){
.origin.x = imgV.width * 0.2,
......@@ -512,6 +509,7 @@ typedef NS_ENUM(NSUInteger, feedbackCellInfo){
_headImageView.hidden = NO;
_noImageHeadView.hidden = YES;
}else{
_headImageView.hidden = YES;
_noImageHeadView.hidden = NO;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment