How to do it...

  1. Create a new project and choose the Tabbed Application template:
  1. Click on Next, and in product name, type PlayWithStoryboard or any other name you like.
  2. Open Main.storyboard:
  1. You will see a tab bar controller with two view controllers, referenced by segues.
  2. Let's now add a third view controller to the tab bar controller. Drag View Controller from Object Library, and add a UILabel in the center of the screen with the text Third View.
  3. To add the view controller to the tab bar controller, click on the Tab Bar Controller in ...

Get iOS Programming Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.