This application will show the basic using of UITabBar and UITabBarItem.
Step 1: Create a new project using Xcode using Tab Bar Application .
Step 2: Double click your MainWindow.xib and open it to Interface Builder. Click on the view window and bring up attributes inspector, change the background color yellow. Now connect the File’s Owner to the Tab Bar Application , select delegate. Connect Tab Bar Application to the Tab Bar Controller, Tab Bar Application to the window. (See figure 1)
Figure 1: MainWindow.xib
Step 3: Now double click the SecondView.xib open it to interface builder. Click the view window and bring up attributes inspector and change the background color Purple. Connect the File’s Owner icon to the View icon. (See the figure below)
Figure 2: SecondView.xib
Step 4: Compile the your application and run it on the simulator. (See figure below)
Figure 3: FirstView in Simulator.
You can downloaded SourceCode from here TabBarApplication 2
Awesome Programming Tools and Resources18 Apr, 2017
30 Java Programming Tips and Best Practices24 Feb, 2017
50 Useful and Reasonably Popular Linux Applications16 Sep, 2016
7 Resources to Sharpen your C programming skills12 May, 2015
BarCode Reader Application – Using ZXing Library08 Jan, 2015
Implementing Dashboard Design In Your Application13 Nov, 2014
3D Programming Example in Android08 Aug, 2014
Text To Speech In iPhone