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
Post a Comment