how to animate UIImageview exactly pages of books

192 Views Asked by At

I have gone through various posts for animating UIImageview like books pages but didn't find anything useful. Actually I want to have animation on UIImageView to have the same effect as we have while turning books's pages. I have used the following code to turn the UIImageview:

[UIView transitionWithView:self.greetingImgView
                  duration:1.0f
                   options:UIViewAnimationOptionTransitionCurlUp

But I am not able to get the desired page curl animation as we have while turning books pages. I want a kind of animation where the user can have a feel of book page animation while viewing animation. Please help me; I have researched a lot.

1

There are 1 best solutions below

1
On

if you want a book like interface for your app, why not using the UIPageViewController. This class provides all you need and you can set the pageing animation as you want.