【发布时间】:2016-01-17 17:43:28
【问题描述】:
我有以下代码:
for(int i = 0; i < 4; i++){
NSMutableString *Row = [NSMutableString new];
for(int j = 0; j < 4; j++){
[Row appendString:[NSString stringWithFormat:@"%d", numbers[j][i]]];
}
NSLog(@"%@\n", Row);
}
这样我得到以下输出:
6473 7354 9835 6475
我的 WKInterfaceController 上有 16 张图片分组,现在我想为每个数字显示一张图片。例如,a 4 = image4.png, 8 = image8.png。
第一行是:image6 image 4 image7 and image3 以此类推。
我怎么去那里?
【问题讨论】: