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