The effect of page translation on iPhone / iPad (for reading books)

Does anyone have an idea how to build a flip page? I saw it in flash applications, and I want them to have the same functionality for our iPad application ... I want the bottom of the panel to have an inverted corner that you can drag and turn the page :) .. .

+4
source share
4 answers

You can also use the cocos2d framework to work with a flip page (see CCPageTurn3D for more information).

Both UIViewAnimationTransitionCurlUp / Down and the transition used in cocos2d support views with only one visible page (left or right) at a time. If you are interested in how to make the flip page effect in general (with the left and / or right page visible at a time), check out this post: Implementing the 2D Flip effect page on iPhone OS or this: Adding a third dimension to the page flipping effect on iPhone OS .

+3
source

When setting the transition, use

[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:self.view.superview cache:YES]; 

That should do the trick

+4
source

Here is an example of how you can make a flip book in HTML that works on the iPad http://devaldi.com/zine/NZ_Tourism_2007.php?ro=html,flash&prefer=true

I think I am using one of the libraries found on this page for jQuery flip books: http://www.webresourcesdepot.com/5-free-jquery-page-flip-plugins-for-book-like-interfaces/

+2
source

Currently, anyone who creates an application for iOS 5 and above can use the UIPageViewController, it is very easy to use. more information can be found here: http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIPageViewControllerClassReferenceClassRef/UIPageViewControllerClassReference.html

0
source

Source: https://habr.com/ru/post/1308653/


All Articles