UIDatePicker中英文展示

UIDatePicker中英文显示1 NSLocale *locale [[NSLocale alloc] initWithLocaleIdentifier:@en_US]//

UIDatePicker中英文显示

1 NSLocale *locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"];//设置为英文显示2 NSLocale *locale = [[NSLocale alloc] initWithLocaleIdentifier:@"zh_CN"];//设置为中文显示3 datePicker.locale = locale;4 [locale release];