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

python - PyInstaller UAC not working in onefile mode -

4x4 Matrix in Python -

wso2is - WSO2 IS 5.0.0 SP1 After restart there is authentication error -