亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

objective-c - How to cancel the view's color dimming problem when transitionWithView flips UIView?
三叔
三叔 2017-06-21 10:11:50
0
1
1239

If you want to make an animation similar to flipping the front and back of a card, using the transitionWithView method of UIView will cause the color of the flipped view to darken. If the background color of the view is white, there will be flickering and black when flipping. Regarding the problem of the center line, the effect is very poor. Please give me some advice from all the experts...

[UIView transitionWithView:cardView duration:0.8f options:UIViewAnimationOptionTransitionFlipFromLeft animations:^{
        [cardView exchangeSubviewAtIndex:0 withSubviewAtIndex:1];
    } completion:NULL];
三叔
三叔

reply all(1)
過(guò)去多啦不再A夢(mèng)
    [UIView transitionFromView:self.aView toView:self.bView duration:0.5 options:UIViewAnimationOptionTransitionFlipFromLeft completion:^(BOOL finished) {
        // do something such as hidden or remove
    }];
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template