1,420
社区成员
发帖
与我相关
我的任务
分享
func tableView(tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
if(self.dataClass.count > 0)
{
return self.dataClass[section]["ClassName"] as? String;
}
return "";
}
[/quote]
section是不能点击的,用cell,做个假的section title
func tableView(tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
if(self.dataClass.count > 0)
{
return self.dataClass[section]["ClassName"] as? String;
}
return "";
}