你好 friend 我是 TableView 的新手.....我需要帮助..拜托
当我点击每一行时,我必须在导航栏上设置标题我应该在导航栏上获得相同的行名称...... friend 我的表中有 23 行所以请建议我得到我的请解决问题......
谢谢®a
最佳答案
在tableView:didSelectRowForIndexPath:
中,编写如下代码:
self.title = [NSString stringWithFormat:@"Cell%d",indexPath.row];
关于iphone - 单击每一行时如何设置导航项的标题?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11735033/