반응형
[dateFormatter setLocale:[NSLocale currentLocale]];
NSLog(@"Locale:%@", [[dateFormatter locale] localeIdentifier]);
[dateFormatter setLocale:[[NSLocale alloc] initWithLocaleIdentifier:@"ko_KR"]];
NSLog(@"Locale:%@", [[dateFormatter locale] localeIdentifier]);
'Dev::iOS' 카테고리의 다른 글
Table view -> Next view (0) | 2012.02.28 |
---|---|
현재 단말기에 세팅되어 있는 언어 가져오기 (0) | 2012.02.07 |
warning:Local declaration of 'var' hides instance variable (0) | 2012.02.03 |
GUID 생성 (0) | 2012.02.02 |
ARC에서 PerformSelector may cause a leak because its selector is unknown 발생 문제 (0) | 2012.02.01 |