我有两个图像(iphoneImage,ipadImage),我想移动ipadImage并旋转iphoneImage但是当我在iphoneImage上使用CGAffineTransform时它会阻止ipadImage Move ?? 所以任何建议
CGRect tempRect=CGRectMake(-351, self.ipadImage.frame.origin.y,
self.ipadImage.frame.size.width,
self.ipadImage.frame.size.height);
CGAffineTransform transform=_iphoneImage.transform;
transform = CGAffineTransformRotate(transform, M_PI * 90 / 180.0);
[UIView animateWithDuration:2
animations:^{
_ipadImage.frame=tempRect;
_iphoneImage.transform=transform;
}];