我正在使用以下代码将图像进行放大,但它是从左上角开始缩放的,如何让它从中心点开始缩放?
[UIView animateWithDuration:duration delay:delay options:options
animations:^{
myImageView.frame = frame;
myImageView.alpha = alpha;
}
completion:^(BOOL finished) {
}
];