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

priyank.ranka

macrumors member
Original poster
Jun 11, 2008
51
0
hi everyone,
Its strange i have posted my thread for the simplest thing but u will also find very unusual. I give you a situation and please tell me how can i record the touch event. In my drawRect function i save the current Graphic Context after which i pass the context to some function which rotate that context in such a way that rotation occurs from center of the window so that all images drawn on that context appears to rotate about center. now i again restore my previous context and draw an image so overall impact is that i have background rotating with some angle but one image is static over the rotating image. Now when i touch the screen it is not been handle. But if i don't draw images in the context which is been rotating than touch events are handle. I don't know how this can be possible where if i draw image touch events doesn't occurs. Also while i am not drawing the images i still change the context than to events are taking place. please help me with this situation please help me.
Waiting for your replies
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.