我有一个由两个 UIImageViews 组成的 UIView。它们是同心圆形状。当我像这样缩小这个视图时:
CABasicAnimation *resizeAnimation = [CABasicAnimation animationWithKeyPath:@"transform.scale"];
resizeAnimation.fromValue = [NSNumber numberWithDouble:1.0];
resizeAnimation.toValue = [NSNumber numberWithDouble:0.25];
resizeAnimation.fillMode = kCAFillModeForwards;
resizeAnimation.removedOnCompletion = NO;
当按比例缩小时,图像的边缘会变得粗糙和像素化。我能做些什么来防止这种情况发生或至少将其最小化吗?