Hi all..
I am making use of the following code in my iphone app to make an animation of the particular view.
This code works pretty good in viewDidAppear method, but not in viewWillAppear method and loadView method , Why so???
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:.75];
[UIView setAnimationBeginsFromCurrentState:YES];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:self.view cache:YES];
[UIView commitAnimations];
Also i want to display the view with animation, here what happen is that the view will appear and then go for an animation.
The app what i am trying to developing should lokks like each views are each side of a cube...
help me!!!!
thanks..
I am making use of the following code in my iphone app to make an animation of the particular view.
This code works pretty good in viewDidAppear method, but not in viewWillAppear method and loadView method , Why so???
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:.75];
[UIView setAnimationBeginsFromCurrentState:YES];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:self.view cache:YES];
[UIView commitAnimations];
Also i want to display the view with animation, here what happen is that the view will appear and then go for an animation.
The app what i am trying to developing should lokks like each views are each side of a cube...
help me!!!!
thanks..