How do I create a view controller file after creating a new view controller?

后端 未结 2 944
夕颜
夕颜 2021-01-30 08:21

I am developing a tabbed application.

When I create a new view controller and link it to the tab bar controller, unlike the other two default view controllers, this one

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-30 08:34

    To add new ViewController once you have have an existing ViewController, follow below step:

    1. Click on background of Main.storyboard.

    2. Search and select ViewController from object library at the utility window.

    3. Drag and drop it in background to create a new ViewController.

提交回复
热议问题