touchesBegan method not called in UITableViewController class in iPhone
问题 How can I use touchesBegan: withEvent: method in UITableViewController class? UITableViewController is a subclass of UIViewController class. So why the method does not works in UITableViewController? 回答1: touchesBegan is a also UIView method besides being a UIViewController method. to override it you need to subclass UIView or UITableView and not the controllers. 回答2: I had a similar problem, and found a different approach that doesn't involve subclassing UITableView. Another way to do this