|
@@ -70,20 +70,20 @@
|
|
|
}];
|
|
|
|
|
|
|
|
|
- _shareButton = [[UIButton alloc] init];
|
|
|
- _shareButton.tag = 3;
|
|
|
- [_shareButton setImage:[UIImage imageNamed:@"nas_preview_share_white"] forState:(UIControlStateNormal)];
|
|
|
- [_shareButton addTarget:self
|
|
|
- action:@selector(didClickButtonFun:)
|
|
|
- forControlEvents:(UIControlEventTouchUpInside)];
|
|
|
- [self addSubview:_shareButton];
|
|
|
-
|
|
|
- [_shareButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.top.mas_equalTo(0);
|
|
|
- make.right.equalTo(_moreButton.mas_left).offset(0);
|
|
|
- make.width.mas_equalTo(60);
|
|
|
- make.height.mas_equalTo(60);
|
|
|
- }];
|
|
|
+// _shareButton = [[UIButton alloc] init];
|
|
|
+// _shareButton.tag = 3;
|
|
|
+// [_shareButton setImage:[UIImage imageNamed:@"nas_preview_share_white"] forState:(UIControlStateNormal)];
|
|
|
+// [_shareButton addTarget:self
|
|
|
+// action:@selector(didClickButtonFun:)
|
|
|
+// forControlEvents:(UIControlEventTouchUpInside)];
|
|
|
+// [self addSubview:_shareButton];
|
|
|
+//
|
|
|
+// [_shareButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
+// make.top.mas_equalTo(0);
|
|
|
+// make.right.equalTo(_moreButton.mas_left).offset(0);
|
|
|
+// make.width.mas_equalTo(60);
|
|
|
+// make.height.mas_equalTo(60);
|
|
|
+// }];
|
|
|
|
|
|
|
|
|
_titleLabel = [[UILabel alloc] init];
|
|
@@ -94,7 +94,8 @@
|
|
|
[_titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
make.centerY.equalTo(self.mas_centerY);
|
|
|
make.left.equalTo(_backButton.mas_right).offset(10);
|
|
|
- make.right.equalTo(_shareButton.mas_left).offset(-10);
|
|
|
+ //make.right.equalTo(_shareButton.mas_left).offset(-10);
|
|
|
+ make.right.equalTo(_moreButton.mas_left).offset(-10);
|
|
|
//make.height.mas_equalTo(25);
|
|
|
}];
|
|
|
|