我正在尝试使用 dateWithTimeIntervalSince1970 创建一个 NSDate,但我不断收到 NSInvalidArgumentException。我无法弄清楚我的语法有什么问题:
// [mutableItem valueForKey:@"date"] is a string which represents an integer of milliseconds
NSDate *dateObject = [NSDate dateWithTimeIntervalSince1970:([[mutableItem valueForKey:@"date"] longLongValue]/1000)];
谁能看到这有什么问题?