-
Notifications
You must be signed in to change notification settings - Fork 0
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
VC导航栏title未更新 #1
Comments
是组件的状态返回错误吗? |
是LFLDarkModeManager里面发通知,参数类型的问题,是个小问题,那里isDarkModeStyle包装的有点问题,这样传出去一直是YES
| |
刘伟
|
|
***@***.***
|
签名由 网易邮箱大师 定制
在2022年01月12日 16:39,龙 写道:
是组件的状态返回错误吗?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
也不是都是YES,你可以测试看看,反正NSNumber类型不可以直接和BOOL比较
| |
刘伟
|
|
***@***.***
|
签名由 网易邮箱大师 定制
在2022年01月12日 16:58,随遇 写道:
是LFLDarkModeManager里面发通知,参数类型的问题,是个小问题,那里isDarkModeStyle包装的有点问题,这样传出去一直是YES
| |
刘伟
|
|
***@***.***
|
签名由 网易邮箱大师 定制
在2022年01月12日 16:39,龙 写道:
是组件的状态返回错误吗?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
后续版本会修复,感谢反馈 |
挺厉害,给你点赞了
| |
刘伟
|
|
***@***.***
|
签名由 网易邮箱大师 定制
在2022年01月13日 14:25,龙 写道:
后续版本会修复,感谢反馈
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
大哥,不知道你发现没有,
不管是UIView,还是UIViewController或者子类
在切换 ”设置“ 中的 “显示与亮度” 中 模式时,都会调用一个方法,这个方法是系统API
- (void)traitCollectionDidChange:(UITraitCollection *)previousTraitCollection
其实你这个LFLDarkModeKit 跟在
- (void)traitCollectionDidChange:(UITraitCollection *)previousTraitCollection
方法一样,这个方法也是可以监听的。
我一直在想,一般项目有很多VC,那每个VC都一样的注册通知,监听,设置不同模式下的UI,这样做过于复杂了。
我以为你这个工具是全局设置,能节省代码量的。
| |
刘伟
|
|
***@***.***
|
签名由 网易邮箱大师 定制
在2022年01月13日 14:25,龙 写道:
后续版本会修复,感谢反馈
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
APP进入后台,再切回前台,导航栏标题一直是 DarkMode
The text was updated successfully, but these errors were encountered: