I'm getting some warnings when I use this line of code.
[UIView setAnimationTransition:UIViewAnimationCurveEaseInOut forView:nil cache:YES];
then i am getting some warning this is following
Implicit conversion from enumeration type
UIViewAnimationCurveto different enumeration typeUIViewAnimationTransition
So please suggest to me how to resolve this problem in iOS 5.0.