Tab Bar Using StoryBoard in IPhone


In this article I will create a Tabbed application. Here I use a Single view from outlet and add to it a label and image view or connect it to the main tab bar controller. In this article I didn't write a single line of code. I will pick a UIview from outlet and put it on the Storyboard Class. It is a best example of storyboard. 

To better understand it use the following.

Step 1

Open XCode by double-clicking on it.

Step 2

Create a New XCode Project by clicking on it.

Step 3

Now Select Tabbed Application and click on Next.


Step 4

Now provide your Product Name and Company Identifier.

Step 5

Select the location where you want to save your project and click on Create.

Step 6 

Now add the view on the Storyboard.


Now add a label to the view.


Now add an image view.


The Storyboard class is:


Step 7

Now run the application and see the output.

Step 8

Output 1 in iPhone


Output 2 in iPhone


Output 3 in iPhone