如何在内部屏幕中设置状态栏颜色?
我有这个带有MainscreenViewController的Mainscreen,在该ViewController中,我可以设置状态栏颜色。到目前为止很好。但是,还有两个内部屏幕的状态栏颜色的设置相同(白色),而实际上它们需要是黑色的,以免它们消失在后台。我该怎么做?我应该为他们创建View Controllers吗?我只是从编码开始,所以我不知道这里是否有另一种方法,所以我一直在寻找一种仅在此屏幕上设置状态栏颜色的方法。
I have this MainScreen, which has its MainScreenViewController and in that viewController I can set the statusBar color. Fine so far. But there are also two internal screens whose statusBar colors are being set the same (white), when in fact they need to be black so they don't disappear into the background. How can I do that? Should I create ViewControllers for them? I'm just starting out with coding, so I don't know if there's another approach here, so I've been looking for a way to set the status bar color only on this screen.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论