pikacode
pikacode
还没处理这个问题
@zhuyuping @eric0815 info.Plist文件里添加下面的参数 View controller-based status bar appearance 设置成No,默认为Yes 或者 [UIApplication.sharedApplication addObserver:self forKeyPath:@"statusBarStyle" options:NSKeyValueObservingOptionNew context:nil]; 监听一下状态,看能不能修改,我用 iOS 9.3的模拟器没有出现你们说的问题
> 我适配ios9.3也出现了状态栏变成黑色,真机 能否发我一份demo代码
有机会用X的时候我试试吧
我按你说的操作没有出现这个问题。另外,在这个控件初始化的时候,会通过 makeKeyAndVisible 的方式添加到 app 的 windows 里,然后又将原先 window 重新置为 key,如果在这中间进行 keywindow addsubView,就会导致你说的问题。
@zhaitong 可以在appdelegate头文件中将初始化的 window 属性抛出,需要使用的地方直接使用
@csknns Thank you so much, but I found that in portrait/landscape it should have different yOffset and width, when orientation is changed it should be update too. And I have...
@MxABC 没有适配 Xcode 12
> appearFrom by default only animations from up and down left and right and not from the middle I know the position default is in the middle but I'd like...