Is it possible to rotate only image in UIImageView? I\'m looking for information about it, but i only found information how rotate UIImageVeiw.
The following code works fine with Swift:
let img = UIImage(CGImage: self.imageView.image!.CGImage, scale: 1.0, orientation: UIImageOrientation.Right) self.imageView.image = img self.imageView.setNeedsLayout()