状态栏字体由于某种原因是粗体 [英] Status bar font is bold for some reason

查看:105
本文介绍了状态栏字体由于某种原因是粗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的设备中的时钟,载体,电池部分正常,如第1张照片中所示。当我打开我的应用程序时,在内存中加载应用程序后,它开始动画并使导航栏变为粗体和更大的字体。我甚至不确定这是好事还是坏事,但我想知道这是怎么发生的。



以下是我如何设置rootVC,如果它有什么处理这个问题:

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





,请参阅iphone-6-and-6-plus上的原生分辨率应用程序。


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

解决方案

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.

这篇关于状态栏字体由于某种原因是粗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆