UIDatePicker中英文显示
1 NSLocale *locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"];//设置为英文显示2 NSLocale *locale = [[NSLocale alloc] initWithLocaleIdentifier:@"zh_CN"];//设置为中文显示3 datePicker.locale = locale;4 [locale release];
发布时间: 2013-11-21 23:38:25 作者: rapoo
UIDatePicker中英文显示
1 NSLocale *locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"];//设置为英文显示2 NSLocale *locale = [[NSLocale alloc] initWithLocaleIdentifier:@"zh_CN"];//设置为中文显示3 datePicker.locale = locale;4 [locale release];