CGContextRef context = UIGraphicsGetCurrentContext();
[UIView beginAnimations:nil context:context];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationDuration:0.3];
[ToolBar setAlpha:1.0];
[UIView commitAnimations];
[self performSelector:@selector(Hidden) withObject:nil afterDelay:1.0];
-(void)Hidden{
CGContextRef context = UIGraphicsGetCurrentContext();
[UIView beginAnimations:nil context:context];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[ToolBar setAlpha:0.0];
[UIView setAnimationDuration:0.3];
[UIView commitAnimations];
}
Search This Blog
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment