iTofu / LCActionSheet

一款简约而不失强大的 ActionSheet,微博、微信和 QQ 都采用了极其类似的样式,完全支持 Swift。
https://note.leodev.me/LCActionSheet/
MIT License
821 stars 144 forks source link

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

Closed luyud closed 7 years ago

luyud commented 7 years ago

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

iTofu commented 7 years ago

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

luyud commented 7 years ago

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

- (UIStatusBarStyle)preferredStatusBarStyle {
    return UIStatusBarStyleLightContent;
}
iTofu commented 7 years ago

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

iTofu commented 7 years ago

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

luyud commented 7 years ago

非常感谢

iTofu commented 7 years ago

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

luyud commented 7 years ago

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

iTofu commented 7 years ago

👌