mpospese / MPFoldTransition

Easily add custom folding and page-flipping transitions to UIViews and UIViewControllers
http://markpospesel.com/2012/05/07/mpfoldtransition/
1.81k stars 238 forks source link

Flip transition from top to bottom #23

Open diegostamigni opened 9 years ago

diegostamigni commented 9 years ago

Hi guys, Do you know how can I flip from top to bottom with this library ? Because the MPFlipStyle enum (inside the MPFlipEnumerations header) does not contains the value to do that:

enum {
    // current view folds away into center, next view slides in flat from top & bottom
    MPFlipStyleDefault              = 0,
    MPFlipStyleDirectionBackward    = 1 << 0,
    MPFlipStyleOrientationVertical  = 1 << 1,
    MPFlipStylePerspectiveReverse   = 1 << 2
};
typedef NSUInteger MPFlipStyle;

*Default and DirectionBackward is regarding the horizontal direction and the third one, MPFlipStyleOrientationVertical is for the vertical direction but it's from bottom to top. The last one is the perspective reverse which is not useful to me.

Thanks in advance, Diego