//swift设置导航栏item颜色和状态栏颜色
let dict:Dictionary =[NSForegroundColorAttributeName:UIColor.hrgb("333333")]
self.navigationController?.navigationBar.titleTextAttributes = dict
UIApplication.shared.setStatusBarStyle(UIStatusBarStyle.default,animated: true)