我尝试使用imageView.animationImages和调用来缩放正在运行图像序列的 UIImageView[self.imageView startAnimating];
- (void) updateViewSizeWithScale:(float) scale
{
    // calculate the new size based on the scale
    int newSize = originalSize * scale;
    [UIView animateWithDuration:0.4 delay:0.0 options:UIViewAnimationOptionCurveEaseInOut animations:^{
    self.imageView.frame = CGRectMake(self.imageView.frame.origin.x, self.imageView.frame.origin.y, newSize, newSize);
       } completion:^(BOOL finished) {
    }];
这不会像动画图像运行时那样缩放 UIImageView。我试图在动画块中设置 self.frame(self 是 UIView 子类),但它不会缩放 imageview。
在容器视图中运行图像序列并缩放容器以使图像在序列运行时缩放的最佳方法是什么?
我应该使用层还是更低级别的 API?