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

也就是说3.2版本开始status bar就始终只能是黑色了吗? #38

Closed
luyud opened this issue May 12, 2017 · 8 comments
Closed

Comments

@luyud
Copy link

luyud commented May 12, 2017

我有些页面的status bar是黑色, 有些是白色, 在使用旧版本的时候没有影响,原本是什么颜色就是什么颜色, 但是新版本后变得很尴尬。。白色的状态栏在显示sheet后变成了黑色,点击后又变回白色。。你可能为了多种原因重构了代码, 但是我还是选择旧版本好了。。

@iTofu
Copy link
Owner

iTofu commented May 12, 2017

你是使用的 preferredStatusBarStyle 还是 [UIApplication sharedApplication].statusBarStyle

@luyud
Copy link
Author

luyud commented May 12, 2017

preferredStatusBarStyle
在需要显示白色状态栏的地方我调用如下方法

- (UIStatusBarStyle)preferredStatusBarStyle {
    return UIStatusBarStyleLightContent;
}

@iTofu
Copy link
Owner

iTofu commented May 12, 2017

好的,已找到该问题,稍后修复。

@iTofu iTofu closed this as completed in d0f08d3 May 12, 2017
@iTofu
Copy link
Owner

iTofu commented May 12, 2017

已修复,V 3.2.2,请更新验证 :)

@luyud
Copy link
Author

luyud commented May 12, 2017

非常感谢

@iTofu
Copy link
Owner

iTofu commented May 12, 2017

没事,我刚好正百无聊赖,你更新下看看修复情况吧,应该是修好了。

@luyud
Copy link
Author

luyud commented May 12, 2017

😁是的,已经好了,厉害厉害

@iTofu
Copy link
Owner

iTofu commented May 12, 2017

👌

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