我有UIViewController和UITableView作为孩子在视图中,我想要做的是当我触摸任何行时,我在底部显示视图.如果用户触摸除了行或bottomView之外的任何其他位置,我想要隐藏该视图.
UIViewController
UITableView
问题是当我点击UITableView它不会触发touchesEnded事件.
touchesEnded
现在我如何检测触摸UITableView并将其与行选择事件区分开来.
谢谢.
iphone uitableview uiviewcontroller touches
iphone ×1
touches ×1
uitableview ×1
uiviewcontroller ×1