import UIKit class FirstViewController: UIViewController { @IBAction func change(_ sender: Any) { let storyboard: UIStoryboard = self.storyboard! let nextView = storyboard.instantiateViewController(withIdentifier: "second") let navi = UINavigationController(rootViewController: nextView) // アニメーションの設定 // navi.modalTransitionStyle = .coverVertical present(navi, animated: true, completion: nil) } override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view, typically from a nib. } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. } }
1

2

3

私は1から2のように、遷移後、遷移先の画面の上にナビゲーションコントローラのバーがなく、タブバーが表示された状態にしたいのですが、ナビゲーションコントローラナビゲーションコントローラを使ってやると遷移先の画面が3のようになります。2のようにするにはどうしたらいいですか?
この質問の投稿者はすでに退会しているため、質問者からの返信がない点にご留意ください。
回答1件
この質問の投稿者はすでに退会しているため、質問者からの返信やベストアンサーの選定がない点にご留意ください。
あなたの回答
tips
プレビュー
退会済みユーザー
2017/08/10 03:25
2017/08/10 04:08 編集
退会済みユーザー
2017/08/10 06:22