Status bar font is bold for some reason

做~自己de王妃 提交于 2019-12-04 05:58:42

问题


The clock, carrier, battery part in my device is normal, like in 1st picture. When I open my app, after loading the app in memory it starts to animate and make the navigation bar bold and bigger font. I am not even sure if this is a good or bad thing, but I would like to know how this happened.

Here is how I setup the rootVC if it has anything to do with this issue:

window = UIWindow(frame: UIScreen.mainScreen().bounds)
window!.rootViewController = VCOrganizer.LaunchVCHolder
window!.backgroundColor = QorumColors.ThemeBlue        
window!.makeKeyAndVisible()


回答1:


It looks like your app does not currently support the larger screen resolution of the iPhone 6/6 Plus. Because of that, your app is being displayed in the zoomed "compatibility" mode commonly seen with older applications.

The best way to fix this is to add a Launch Screen .xib to your application target (see the screenshot below). This xib should contain placeholder UI objects which represent the "empty state" of your application as it lauches. This replaces the "Launch Image" approach used by older versions of iOS.

Xcode Target Settings - General

Check out this answer for more information about supporting the native resolution of the iPhone 6 and 6 Plus.



来源:https://stackoverflow.com/questions/32404463/status-bar-font-is-bold-for-some-reason

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!