I have a ribbon (bookmark) that I want to curl from the screen. The ribbon has a clipping from the bottom, which is a transparent section - UIImageView with transparent png.
When I do the curl on the ribbon, the main shadow represents the whole view (which is technically square). I am trying to make this look as real as possible, so if someone could point me in the right direction, that would be helpful.
I tried - masking the view - adjusting the twisting of open source pages - replacing viewAtIndex while the page freezes - UIView animation
but they all lead to a square shadow.
The best experience I can provide so far is a simple UIView animation, while disappearing:
[UIView transitionWithView:_ribbonButton duration:0.5f options:UIViewAnimationOptionTransitionCurlUp animations:^{ [_ribbonButton setAlpha:0.0f]; } completion:^(BOOL completed){ [self animationCompleted:completed]; }];
Here is a screenshot: http://livevision.us/wordpress/?attachment_id=60
source share