Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 timeZoneWithName,但我不知道时区的名称。在哪里可以找到时区列表?
[NSTimeZone timeZoneWithName:@"US/Eastern"];
我找到了解决方案。
NSLog(@"%@", [NSTimeZone knownTimeZoneNames]);