Rotating image like in standard feature ios objective c -


how can rotate image similar how it's done in standard gallery feature? standard gallery has wheel user can tap 1 finger , swipe left right , turn image 45 degrees. here screenshot of mean:

try code rotation.

cgaffinetransform newtransform = cgaffinetransformmakerotation((cgfloat)(angel));  self.imageview.transform = newtransform; 

Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

php - Need to store a large amount of data in session with CI 3 but on storing large data in session it is itself destorying automatically -