I\'m trying to rotate an UIView a few radians but after applying the transformation it doesn\'t look to be keeping its size. What\'s the proper way to achieve t
UIView
Try with this code:
#define DEGREES_TO_RADIANS(angle) ((angle) / 180.0 * M_PI) double rads = DEGREES_TO_RADIANS(240); self.arrowView.layer.transform = CATransform3DMakeRotation(rads, 0, 0, 1);