通过uiview动画来放大图片

UIImage *image=[UIImage imageNamed:@"1"];
    UIImageView *imageView=[[UIImageView alloc]init];
    imageView.image=image;
    imageView.frame=CGRectMake(120, 140, 80, 80);
    [self.view addSubview:imageView];
    
    [UIView animateKeyframesWithDuration:2 delay:2 options:UIViewKeyframeAnimationOptionBeginFromCurrentState animations:^{
        imageView.frame=CGRectMake(80, 100, 160, 160);
        
    } completion:nil];
    
原文地址:https://www.cnblogs.com/thbbsky/p/4332510.html