hello,
I am an absolute beginner in iPhone development(consider this while rplyng please), I have this Navigation based application in which there is view called FirstView.
In this I have a scrollview and imageview. I set Image of Image view on a button click. Then after the click I have this code
imageView.image=image;
imageTitle.text=text;
scrollView.clipsToBounds=YES;
CGContextRef context = UIGraphicsGetCurrentContext();
[UIView beginAnimations:nil context:context];
[UIView setAnimationTransition: UIViewAnimationTransitionCurlUp forView:[self scrollView] cache:NO];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationDuration:1.0];
[UIView commitAnimations];
The UIViewAnimationTransitionCurlUp animation was working fine if I set the animation view as imageView. But if I set it for scrollView (like above), the animation does not happen