@@ -270,8 +270,9 @@
-(void)animationPop
{
+ WeakSelf;
[UIView animateWithDuration:0.5 animations:^{
- [self.contentView setY:(HEIGHT-250)*0.4];
+ [weakSelf.contentView setY:(HEIGHT-250)*0.4];
} completion:^(BOOL finished) {
NSLog(@"完成");
}];
@@ -152,8 +152,9 @@
- [self.contentView setY:0];
+ [weakSelf.contentView setY:0];