How to disable subView in tableViewCell iPhone

Posted by user1304842 on Stack Overflow See other posts from Stack Overflow or by user1304842
Published on 2012-06-04T04:36:07Z Indexed on 2012/06/04 4:40 UTC
Read the original article Hit count: 107

Filed under:
|
|

every one. I'm a new developer for iphone. I want to not get a event for a subView in a tableCell. It it clear, that how to enable/disable the selected a view.

When i use "subView.userInteractionEnabled = NO;" method, the subview send the event to parent view. At the result, when i click the subview, example the buttonView in tableViewCell, The tableViewcell captured the event. I don't allow this. How can i do that?

Please help me.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about disable