Rodhos Soft

備忘録を兼ねた技術的なメモです。Rofhos SoftではiOSアプリ開発を中心としてAndroid, Webサービス等の開発を承っております。まずはご相談下さい。

toolbarの色をかえる

        let button = UIBarButtonItem(customView:button)
        self.toolbarItems = [flexl, button, flexr]
        self.navigationController?.toolbar.barTintColor = UIColor.White
        self.navigationController?.setToolbarHidden(false, animated: true)