UINavigationBar.appearance().translucent = false
UINavigationBar.appearance().barStyle = UIBarStyle.Default
ps: Ios7禁止全局设置导航栏的透明状态
UINavigationBar.appearance().translucent = false
UINavigationBar.appearance().barStyle = UIBarStyle.Default
ps: Ios7禁止全局设置导航栏的透明状态