views:

72

answers:

3

How do I determine where the user touched in my view?

A: 
CGPoint origin = view.frame.origin;
Matt Williamson
+1  A: 

see - (UIColor*) getPixelColorAtLocation:(CGPoint)point found here: http://www.markj.net/iphone-uiimage-pixel-color/

I would rewrite it as a category method on UIImage.

vikingosegundo
A: 

i got it dude,, with knowing the pixel of UIImage, by following this nice example http://www.levelofindirection.com/journal/2009/9/24/getting-at-pixel-data-from-a-uiimage-for-iphone-dev.html

thnx for all

Imam Arief W