In my app i have UIScrollview and multiple uiimageviews inside it, here i have done this all, i want to allow user to rearrange the uiimageviews around uiscrollview. i.e LIKE GALLERY VIEW IN ANDROID. What is the best way to do this. Here is the code how im adding uiimageview to scrollview
UIGraphicsBeginImageContext(myview.frame.size);
CGContextRef context = UIGraphicsGetCurrentContext();
[myview.layer renderInContext:context];
UIImage *screenShot = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
myimageview.image=screenShot;
[myscrollview addSubview:myimageview];