我需要根据ios设备的位置设置本地时区.
[dateFormat setTimeZone:[NSTimeZone timeZoneWithName:@"UTC"]];
要么
[dateFormat setTimeZone:[NSTimeZone timeZoneWithName:@"GTC+5.30"]];
适合吗?
timezone ios
ios ×1
timezone ×1