Hello,
I have a UIImageView that I rotate around its center:
but I would like to rotate it around the center of its superview. Is this possible ?
thanks,
Tex
I have a UIImageView that I rotate around its center:
Code:
imageHorizon.transform = CGAffineTransformRotate(imageHorizon.transform, angleToRotate*(CGFloat)(M_PI/180));
but I would like to rotate it around the center of its superview. Is this possible ?
thanks,
Tex