-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath用indexPath可以获得所选的行号,根据行号获取到cell里面内容