|
|
@@ -13,6 +13,8 @@
|
|
|
@interface editShareView ()
|
|
|
@property(nonatomic,strong) UIButton*day7Button;
|
|
|
@property(nonatomic,strong) UIButton*dayForeverButton;
|
|
|
+
|
|
|
+@property(nonatomic,strong) UIButton*PrivacyShareButton;
|
|
|
@end
|
|
|
|
|
|
@implementation editShareView
|
|
|
@@ -141,6 +143,10 @@
|
|
|
make.top.equalTo(secondTitleLabel.mas_bottom).offset(20);
|
|
|
}];
|
|
|
|
|
|
+ if(i== titleArr.count -1){
|
|
|
+ _PrivacyShareButton = curButton;
|
|
|
+ }
|
|
|
+
|
|
|
UIView *imageBgView = [[UIView alloc] init];
|
|
|
imageBgView.backgroundColor = [UIColor hwColor:@"#F5F7FA"];
|
|
|
imageBgView.layer.cornerRadius = 8;
|
|
|
@@ -217,10 +223,16 @@
|
|
|
if(tag==1 && !_day7Button.selected){
|
|
|
_day7Button.selected = YES;
|
|
|
_dayForeverButton.selected = NO;
|
|
|
+
|
|
|
+ //私密分享
|
|
|
+ _PrivacyShareButton.hidden = NO;
|
|
|
}
|
|
|
else if(tag==2 && !_dayForeverButton.selected){
|
|
|
_day7Button.selected = NO;
|
|
|
_dayForeverButton.selected = YES;
|
|
|
+
|
|
|
+ //私密分享
|
|
|
+ _PrivacyShareButton.hidden = YES;
|
|
|
}
|
|
|
else if(tag == 100){
|
|
|
[self removeFromSuperview];
|