什么是NSString的int64_t格式说明符

时间:2014-05-07 13:57:20

标签: ios objective-c

我找不到int64_t

的正确格式说明符
int64_t var;

[NSString stringWithFormat:@"value is: %?? ",var];

1 个答案:

答案 0 :(得分:9)

尝试:

int64_t var;    
[NSString stringWithFormat:@"value is: %lld",var];