I have two images i want to split each image into 3 parts .if i click on first image first part for eg forehead then secong image first part i.e forehead will come by replacing first part and remaining two parts of the first image should be unalerted likewise all three parts should change while clicking that part how can i acheive this ?????
+1
A:
Why not just create a set of UIButton
objects stacked on top of eachother with user interaction enabled and set the images in those.. then when one button is tapped, you check which one was tapped based on sender
or tag
and hide the button pressed, but show the next one underneath it? When you get to the last button in the stack, show the top button again.
This would pretty much be a switch-case
just setting hidden to yes/no.
iWasRobbed
2010-07-27 21:40:36
That was a nice idea and i have another issue can i scroll each part for eg if i have 3 images if i scroll first part of first image to left(right) third(first) image will come by replacing the first part do you have any idea abot this???
ksk
2010-07-28 05:13:30
For something like that... you'd be better off doing something like a paging style `UIScrollView` .. you'd need one for each body section. It would let you swipe left/right with new images.
iWasRobbed
2010-07-28 22:36:26
ok i need another thing that how can i save the mixed image??
ksk
2010-07-29 06:19:43
Look into this post: http://stackoverflow.com/questions/2200736/how-to-take-a-screenshot-programmatically ..please consider marking this question as answered (little checkmark next to my post) and asking a new question for future questions. Best of luck!
iWasRobbed
2010-07-29 11:16:54