-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
无法屏蔽 QMUI 配置表设置的 navigationBar 样式对 MFMailComposeViewController 的影响 #683
Comments
影响到系统所有 navigationBar 的原因是因为 QMUI 配置表里的 建议这种情况可以手动在业务项目里添加以下代码将指定系统的 class 的 navigationBar 样式重置回来: UINavigationBar *barInABPeople = [UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[[ABPeoplePickerNavigationController class]];
barInABPeople.tintColor = nil;
barInABPeople.barTintColor = nil;
barInABPeople.xxx = xxx;
... |
好像不行啊 |
还有一点,我是用生成图片的方式用于导航背景 |
生成图片没关系的,也可以。是否能提供一个 Demo 看看? |
@MoLice |
1 similar comment
这个 Demo 里有两个问题,一个是 QMUI 配置表的样式如何不影响系统其他框架的样式,另一个是 navigationBarTintColor 不生效。 后者是 QMUI 的 bug,由 #692 跟进,这里不详述。 前者是符合 QMUI 的设计预期的,也即整个 App 里样式都是统一的,不管调起的界面是属于系统的还是业务的,而如果业务项目需要更改这个规则也是可以的。但目前看来即便我们重置了 后续我们再看如何优雅解决这个问题。 |
@MoLice 好的 感谢 |
已发布 4.0.0 版本修复该问题。 |
我使用配置文件配置导航颜色,但是影响了一些系统提供的功能页面,比如说ABPeoplePickerNavigationController 等等
The text was updated successfully, but these errors were encountered: