SecondViewControllerの方にタイトルつけたいのですが、表示されません。謎です。
// rootViewController self.navigationController!.navigationBar.isHidden = true self.navigationItem.title = "テスト" self.navigationController!.title = "テスト2" self.navigationController!.navigationBar.tintColor = UIColor.red // SecondViewController self.navigationController!.navigationBar.isHidden = false self.navigationItem.title = receiverInfo["name"] self.navigationController!.title = "あああ" self.navigationController!.navigationBar.tintColor = UIColor.red
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。