标签: ios objective-c
我有以下标签:
self.countLabel .text = [NSString stringWithFormat:@"%@", --self.total];
self.total NSSInteger属性
self.total
NSSInteger
答案 0 :(得分:2)
尝试做:
self.countLabel.text = [NSString stringWithFormat:@"%ld", (long)--self.total];