Skip to content
New issue

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

UINavigationBar 问题 #955

Closed
Lucifer0103 opened this issue Aug 20, 2018 · 5 comments
Closed

UINavigationBar 问题 #955

Lucifer0103 opened this issue Aug 20, 2018 · 5 comments

Comments

@Lucifer0103
Copy link

预览时候 由于使用 FDFullscreenPopGesture 会导致 出现UINavigationBar问题, 请问如何解决?
snip20180820_1

@banchichen
Copy link
Owner

这里有解决方案:#652

@Lucifer0103
Copy link
Author

  1. TZPhotoPreviewController 中隐藏 NavigationBar 用的是 [self.navigationController setNavigationBarHidden:YES animated:YES]; 会有如图问题, 运行demo的截图
    2018-08-20 4 53 22
    cesssss

  2. 我自己demo在 info.plist 中设置了View controller-based status bar appearance = NO修改 状态栏样式 , 在TZPhotoPreviewController中侧滑返回时候会导致 如图问题
    2018-08-20 4 50 36

是不是都用系统的NavigationBar, 或者都自定义NavigationBar 更好些? NavigationBar隐藏再显示 总会出现一些未知的情况.

@banchichen
Copy link
Owner

1、这个不能算是个问题...
2、如652所述,这个现象是FDFullscreenPopGesture导致的,参考里面的解法即可。未来有机会可以都改成自定义的NavigationBar,优先级较低。

@Lucifer0103
Copy link
Author

Lucifer0103 commented Aug 21, 2018

  1. 不是FDFullscreenPopGesture的问题, 是由于 info.plist 设置了View controller-based status bar appearance = NO. 因为支持侧滑所以会特别明显.
    cesssss

不设置 View controller-based status bar appearance 才能正常
cesssss

还是谢谢作者封装的功能与细心的解答, 希望TZImagePickerController越来越完善, 给你点赞, 棒棒哒~

@banchichen
Copy link
Owner

嗯嗯,如果没有FDFullscreenPopGesture,这个预览页应该不能侧滑😂

有兴趣来个PR不~?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants