Upgrading animation code
In iOS 4 and later you are encouraged to use animation blocks.

[UIView animateWithDuration: 0.5f
            delay: 0.08f
            options: UIViewAnimationCurveEaseIn
            animations: ^{
                self.view.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height);
            }
            completion: ^(BOOL finished){
               // any code you want to be executed upon animation completion
            }
];


One advantage of using block-based animation is that


  When this code executes, the specified animations are started immediately on another thread so as to avoid blocking the current thread or your application’s main thread.


This means that the rest of your application will not be "locked up" while your animation is executing.