2017-04-11 153 views
0

我需要在状态栏下的导航栏。你可以看到我的问题在下面的图片状态栏下的导航栏

this picture

我想有白色背景的状态栏。

(SWIFT,请)

+0

这不是问题,使用google –

+0

@Lu_un很抱歉,我没有找到适合自己的东西 –

+0

@Lu_if对你来说不是问题,所以请帮助我,给我一个链接。我发现了很多话题,但他们不适合我。 –

回答

-1

在IOS 10和迅速3,

  1. 变化的info.plist行

    View controller-based status bar appearance and set it to NO 
    
  2. 在AppDelegate.swift,在FUNC didFinishLaunchingWithOptions ,

    UIApplication.shared.statusBarStyle = .lightContent