-
Notifications
You must be signed in to change notification settings - Fork 104
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
navigation 设置 hidden 隐藏,导航底部线条再也无法恢复 #57
Comments
能给个能复现问题的 demo 吗? |
错了,是设置颜色后导航底部线条无法出现,也就是设置颜色或图片,YPNavigationBarShowShadowImage是失效的,你的Demo也是 |
A界面设置 YPNavigationBarBackgroundStyleColor | YPNavigationBarBackgroundStyleOpaque,目的是为了隐藏底部线条,B界面设置 YPNavigationBarBackgroundStyleColor | YPNavigationBarBackgroundStyleOpaque | YPNavigationBarShowShadowImag, 目的是为了显示底部线条,当A Push 到 B时,底部线条一闪而过,显示不出来 |
运行demo,关掉black bar style,打开shadow image,点white打开下一个页面,shadow image显示一下就消失了 |
UINavigationBar+YPConfigure.m,66行,注释掉即可实现显示横线; 这里给self.shadowImage赋值会导致横线消失。 |
但是如果没有这行代码的话,其他状态下的shadowImage就会有问题了 |
No description provided.
The text was updated successfully, but these errors were encountered: