Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想检测用户对表格视图的触摸,以便我可以将该特定部分信息传递给下一个视图以显示它......
我该怎么做
您需要将视图控制器设置为表视图的委托:
tableView.delegate = self;
然后实施tableView:didSelectRowAtIndexPath:. 如果您刚刚开始,您可能应该阅读UITableView 编程指南。
tableView:didSelectRowAtIndexPath: