- (IBAction)scale:(id)sender {
CGFloat scaleOffset = 0.9;
_imageView.transform = CGAffineTransformScale(_imageView.transform, scaleOffset, scaleOffset);
}
//图片的移动
- (IBAction)move:(id)sender {
CGFloat moveOffset = 50;
_imageView.transform = CGAffineTransformTranslate(_imageView.transform, 0, moveOffset);
}
//图片的旋转
- (IBAction)rotate:(id)sender {
CGFloat rotateOffset = M_PI_4;
_imageView.transform = CGAffineTransformRotate(_imageView.transform, rotateOffset);
}