2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

XcodeでTabBarを遷移先にも表示させる方法

Last updated at Posted at 2023-01-24

XcodeでTabBarを遷移先にも表示させる方法

まず、UITabBarを設置します。
参考
https://ios-docs.dev/uitabbar/

つぎに、Tab Ber Controllerの遷移先に、Navigation Controllerを配置します。

Navigation Controllerの遷移先に画像では黄色のViewControllerを配置します。

【ビルド!】すると、Tab Berを継承して黄色のViewControllerに表示することができます〜!👏👏

2023-01-24 21.42のイメージ.jpg

ちなみに、右下からもNavigation Controllerを選択できます。

2023-01-24 21.45のイメージ.jpg

【おまけ】

buttonが出てこない場合は、制約(コンストレイント)をつけましょう
スクリーンショット 2023-01-24 21.37.38.png

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?