equal
deleted
inserted
replaced
140 [self flushData]; |
140 [self flushData]; |
141 |
141 |
142 [UIView beginAnimations:@"Get Back" context:NULL]; |
142 [UIView beginAnimations:@"Get Back" context:NULL]; |
143 [UIView setAnimationDuration:1]; |
143 [UIView setAnimationDuration:1]; |
144 |
144 |
145 self.view.frame = CGRectMake(0, -320, 480, 320); |
145 self.view.frame = CGRectMake(0, -257, 480, 278); |
146 self.parentView.frame = CGRectMake(0, 0, 480, 320); |
146 self.parentView.frame = CGRectMake(0, 21, 480, 278); |
147 [UIView commitAnimations]; |
147 [UIView commitAnimations]; |
148 |
148 |
149 [self.view performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:1]; |
149 [self.view performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:1]; |
150 self.parentView = nil; |
150 self.parentView = nil; |
151 } |
151 } |