File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -260,6 +260,9 @@ - (void)pushTZImagePickerController {
260260 if (self.maxCountTF .text .integerValue <= 0 ) {
261261 return ;
262262 }
263+ // 设置languageBundle以使用其它语言,必须在TZImagePickerController初始化前设置 / Set languageBundle to use other language
264+ // [TZImagePickerConfig sharedInstance].languageBundle = [NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:@"tz-ru" ofType:@"lproj"]];
265+
263266 TZImagePickerController *imagePickerVc = [[TZImagePickerController alloc ] initWithMaxImagesCount: self .maxCountTF.text.integerValue columnNumber: self .columnNumberTF.text.integerValue delegate: self pushPhotoPickerVc: YES ];
264267 // imagePickerVc.barItemTextColor = [UIColor blackColor];
265268 // [imagePickerVc.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName : [UIColor blackColor]}];
@@ -384,9 +387,6 @@ - (void)pushTZImagePickerController {
384387 // 设置首选语言 / Set preferred language
385388 // imagePickerVc.preferredLanguage = @"zh-Hans";
386389
387- // 设置languageBundle以使用其它语言 / Set languageBundle to use other language
388- // imagePickerVc.languageBundle = [NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:@"tz-ru" ofType:@"lproj"]];
389-
390390#pragma mark - 到这里为止
391391
392392 // You can get the photos by block, the same as by delegate.
You can’t perform that action at this time.
0 commit comments