PaperFold-for-iOS
PaperFold-for-iOS copied to clipboard
AutoresingMask
Hello,
Awesome Job !
But I found some strange behaviors for some AutoresizingMasks, while using PaperFold
on iPhone 6.
The line
in - (void)setTopFoldContentView:(UIView*)view topViewFoldCount:(int)topViewFoldCount topViewPullFactor:(float)topViewPullFactor
has a mask with a flexible height, but has a height of 1.
In the same method, think the correct AutoresizingMask for rightFoldView
should be UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleBottomMargin
In - (void)setContent:(UIView *)contentView
, there is a UIViewAutoresizingFlexibleWidth
(2 actually), but no UIViewAutoresizingFlexibleHeight
.