add 题目
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
[self addSubview:dismisBtn];
|
||||
|
||||
[dismisBtn mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.right.mas_equalTo(self.mas_right).offset(10);
|
||||
make.right.mas_equalTo(self.mas_right).offset(-10);
|
||||
make.centerY.mas_equalTo(self.mas_centerY);
|
||||
make.width.and.height.mas_equalTo(40);
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
|
||||
[UIView animateWithDuration:0.4 animations:^{
|
||||
|
||||
self.frame = CGRectMake(0, KMainH, KMainW, 60);
|
||||
self.frame = CGRectMake(0, KMainH, KMainW, 44);
|
||||
|
||||
} completion:^(BOOL finished) {
|
||||
[self removeFromSuperview];
|
||||
|
||||
Reference in New Issue
Block a user