We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在第一次进入照片选择时,顶部导航的左侧返回按钮显示为英文的"back" 点击一次"back"后再次进入照片选择时才显示为中文。 调试后发现TZImagePickerController.m文件中的TZAlbumPickerController类的viewWillAppear:在第一次打开是不会进入,因此其中设置导航的返回按钮的Title的代码(如下)不会执行。
// 1.6.10 采用微信的方式,只在相册列表页定义backBarButtonItem为返回,其余的顺系统的做法 if (self.isFirstAppear) { self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:[NSBundle tz_localizedStringForKey:@"Back"] style:UIBarButtonItemStylePlain target:nil action:nil]; self.isFirstAppear = NO; }
目前将该代码移到TZAlbumPickerController类的viewDidLoad后,能够在首次时可以正常显示 不知道这是不是一个小小的bug
The text was updated successfully, but these errors were encountered:
你好,请参考这个issue下我的回复:#443
Sorry, something went wrong.
No branches or pull requests
在第一次进入照片选择时,顶部导航的左侧返回按钮显示为英文的"back"
点击一次"back"后再次进入照片选择时才显示为中文。
调试后发现TZImagePickerController.m文件中的TZAlbumPickerController类的viewWillAppear:在第一次打开是不会进入,因此其中设置导航的返回按钮的Title的代码(如下)不会执行。
目前将该代码移到TZAlbumPickerController类的viewDidLoad后,能够在首次时可以正常显示
不知道这是不是一个小小的bug
The text was updated successfully, but these errors were encountered: