i have add a subView to UITableView in my application,after adding, the tableViewCell still clickable,how to prevent this?pls help
+1
A:
If I understood your problem this time, if you can make the subview the size of the screen, then you just need to set userInteractionEnabled to TRUE on the subview.
Tested it with a simple UITableView and a UIImageView over it. If I disable the userInteractionEnabled then the willSelectRowAtIndexPath of the tableView delegate is called, if I set it to TRUE nothing happens.
Alexandre L Telles
2009-04-13 04:45:29
i donot want my tableView not clickable at all time, jus when i add the subview above the tableView and it just unclickable. the problem i have is when i add a new view , the tableView was behind but still can click and link to corresponding viewthe viewcontroller i used is tableViewController
issac
2009-04-13 04:55:26