Users Pricing

forum

home / developersection / forums / rotate uiimageview from particular side

Rotate UIImageView from Particular side

Anonymous User 2604 12 Nov 2014

I want to rotate image (UIImageView) from particular side (for ex. Right Side).

I know through :-

float degrees = 20; //the value in degrees

imageView.transform = CGAffineTransformMakeRotation(degrees * M_PI/180);

but it rotates from center.

I want to rotate my UIImageView from one particular side (i.e. Left side will be at its place, and right side 


I am a content writter !


1 Answers