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 -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -