objective c - IOS: Weird color in UIView transition : UIViewAnimationOptionTransitionCurlDown -


i'm @ loss here, trying use uiviewanimationoptiontransitioncurldown on view has transparency, , here result (visually), code below. want transition happen without weird shadow. insight why shadow displaying helpful. happens during animation.

first image

second image

third image

    [uiview transitionwithview:sender                    duration:15.0f                     options:uiviewanimationoptiontransitioncurldown                 animations:^{                     [self modifycontentofpagewith:sender];                 }                  completion:nil];  

i tried same piece of code. downloaded yellow sticky image web , realized actual size of image bigger active image. shade of whole image during animation. cut (invisible) borders of image fit yellow part , , magically, worked perfect.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -