Status bar font is bold for some reason

2019-03-05 11:49发布

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()

enter image description here enter image description here enter image description here

1条回答
Emotional °昔
2楼-- · 2019-03-05 12:21

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

Xcode target settings

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

查看更多
登录 后发表回答