本文介绍了iPad半透明状态栏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否无法使iPad的状态栏保持半透明状态。尝试执行此操作时出现此错误:此设备上无法使用UIStatusBarStyleBlackTranslucent。
Is there no way to make the status bar translucent for the iPad. I get this error when trying to do this: UIStatusBarStyleBlackTranslucent is not available on this device.
推荐答案
iPad不支持半透明状态栏。
The iPad doesn't support the translucent status bar.
可能Apple认为屏幕太大了,给状态栏提供20px(屏幕尺寸的2~3%)并不重要。
It's probably Apple considers the screen is so big that giving 20px (2 ~ 3% of screen size) to the status bar doesn't really matter.
这篇关于iPad半透明状态栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!