how can we rotate a image in image view and apply gesture on image and save that image to server at same state as image is 

```
- (IBAction)imageMove:(id)sender {
    static int numRot = 0;

    myimage.transform = CGAffineTransformMakeRotation(M_PI_2 * numRot);
    ++numRot;
}

```

from this piece of code i am able to rotate my image view 90 degree