i have many uiview objects on self.view , 1 tap gesture available on self.view. concern when ever touch self.view know under touch uiview object there or not if s want properties of object tag value. please me how information.thanks in advance.
you might read book on topic:
http://www.apeth.com/iosbook/ch18.html#_hit_testing
example code section:
cgpoint p = [g locationoftouch:0 inview:self]; // g gesture recognizer uiview* v = [self hittest:p withevent:nil];
where self
superview gesture recognizer attached. you'll need make necessary substitutions...
Comments
Post a Comment