Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

无法全局设置导航栏外观 #90

Open
CoderKingXY opened this issue May 23, 2017 · 1 comment
Open

无法全局设置导航栏外观 #90

CoderKingXY opened this issue May 23, 2017 · 1 comment

Comments

@CoderKingXY
Copy link

我想尝试使用[UINavigationBar appearance].dk_barTintColorPicker = DKColorPickerWithKey(BAR);
但是报错。
还有就是切换主题的时候,我想切换图片,似乎找不到这样的方法。我之前的导航栏背景就是通过设置背景图片实现的,因为需求里导航栏背景色是个渐变的颜色,没办法直接设置 DKColor。后来用了您的框架后,为了切换主题就舍弃了渐变色。

@draveness
Copy link
Owner

监听这个 https://github.com/Draveness/DKNightVersion#post-notification 这个通知吧,可以自定义

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

No branches or pull requests

2 participants