我正在尝试选择多个UITableViewCells,它工作正常,但我无法将字符串添加到我的NSMutableArray.
我正在使用此代码,并且我的日志始终为(空):
self.mutarray = [[NSMutableArray alloc] init];
[self.mutarray addObject:path]; //path is an NSString
NSLog(@"%@", self.mutarray);
它必须将路径添加UITableViewCell到NSMutableArray,这甚至可能吗?
哦,我打电话给这个- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath