I am going straight to the point,my problem is, I have a uiview controller which is taking 3 buttons and a uiimage view.Now,
When i am pressing first button
In Button TouchUpInSide Event Write thid code
Create first image
UIImage *myImage = [UIImage imageNamed:@"image1.png"];
save first image
UIImageWriteToSavedPhotosAlbum(myImage, self, nil, nil);
Create second image
myImage = [UIImage imageNamed:@"image2.png"];
Save second image
UIImageWriteToSavedPhotosAlbum(myImage, self, nil, nil);