equal
deleted
inserted
replaced
53 releaseAndNil(scrollView); |
53 releaseAndNil(scrollView); |
54 [super dealloc]; |
54 [super dealloc]; |
55 } |
55 } |
56 |
56 |
57 -(IBAction) dismiss { |
57 -(IBAction) dismiss { |
58 [UIView beginAnimations:@"dismiss help" context:NULL]; |
58 [UIView animateWithDuration:0.5 animations:^{ |
59 self.view.alpha = 0; |
59 self.view.alpha = 0; |
60 [UIView commitAnimations]; |
60 } completion:^(BOOL finished){ |
61 [self.view performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:1]; |
61 [self.view performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:0]; |
|
62 }]; |
62 } |
63 } |
63 |
64 |
64 @end |
65 @end |