ios - UIRotationGestureRecognizer to rtate the image -


uirotationgesturerecognizer using in ios rotate image. after rotate save image in same angle

how save image in same angle

[image1 drawinrect:cgrectmake(xx1,yy1, img1width-5, img1height-50)]; // apply supplied opacity if applicable [image2 drawinrect:cgrectmake(0,0,newsize.width,newsize.height) blendmode:kcgblendmodenormal alpha:0.8];  uiimage *resultingimage = uigraphicsgetimagefromcurrentimagecontext();  uigraphicsendimagecontext(); return resultingimage; 


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -