简体   繁体   English

iOS半透明状态栏不起作用SDL 2

[英]iOS translucent status bar not working SDL 2

I have an app based on SDL2 for iOS. 我有一个基于SDL2的iOS应用。 Something in SDL is blocking the translucent status bar from working properly; SDL中的某些内容阻止了半透明状态栏无法正常工作; it always appears as opaque. 它始终显示为不透明。 I've created apps before with a translucent status bar, so I know how it should be setup normally. 我之前用半透明的状态栏创建了应用程序,所以我知道应该如何正常设置它。 The problem is with something SDL is changing. 问题在于SDL正在发生变化。 Does anyone know the fix to this issue? 有人知道解决此问题的方法吗? Thanks. 谢谢。

It turns out the iPad doesn't support the transparent status bar; 事实证明,iPad不支持透明状态栏。 I was testing on the iPhone simulator before. 我之前在iPhone模拟器上进行过测试。 There wasn't a problem in the first place. 首先没有问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM