swift 代码片段

来源:互联网 发布:js如何获取当前时间 编辑:程序博客网 时间:2024/06/06 15:43

swift 代码片段

  • 设置导航栏颜色
        UIApplication.sharedApplication().setStatusBarHidden(true, withAnimation: .None)        self.navigationController?.navigationBar.lt_setBackgroundColor(UIColor.blackColor())        self.navigationController?.navigationBar.tintColor = UIColor.whiteColor()        self.navigationController?.navigationBar.titleTextAttributes = [NSForegroundColorAttributeName:UIColor.whiteColor()]
  • test
0 0