Search This Blog

Friday, April 23, 2010

10 secs hidden

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];
}

No comments:

Post a Comment