Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

bytezone

macrumors member
Original poster
Apr 20, 2009
64
0
I have an image in UIImageView. This image will be moving on the screen. After certern interval I want to remove a part of the image from this moving image and keep the remaining image moving.

For example if a triangle image is moving then I would like to chop out top part of the triangle and make the triangle(with top cut) to keep moving.

I am able to move the object..but unabble to cut the image. I read online I can use CGImageCreateWithImageInRect to achive my task. Can anyone give a sample code to achive this...??

Greatly apprecite it...

Thanks in advance....
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.