uiview 的transitionWithView 方法使用

-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
    [UIView transitionWithView:_imageViewFirst duration:1.0f options:UIViewAnimationOptionTransitionFlipFromTop animations:^{
        _imageViewFirst.alpha=0;
        _imageViewFirst.center=CGPointMake(50, 20);
        
    } completion:^(BOOL finished) {
        
        
    }];

}

 

posted @ 2015-03-31 10:58  曹县三胖暴打大猩猩  阅读(946)  评论(0编辑  收藏  举报