NSString *dateString=[[NSString alloc]initWithFormat:@"%@",[timeit objectAtIndex:indexPath.row]];
答案 0 :(得分:0)
试试这个:NSString *dateString=[array objectAtIndex:indexPath.row];
有效吗?
答案 1 :(得分:-4)
无需分配和初始化
NSString *dateString=[NSString StringWithFormat:@"%@", [timeit objectAtIndex:indexPath.row]];