For my IOS app, i am using a tab bar controller on a mainstoryboard. I would like to have 4 tabs in total. How do i add more view controller .h’s and .m’s to allow me to code on these new tabs?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To add a new UIViewController subclass to your project either press CMD+N or go to File –> New –> New File. In the left pane select Cocoa Touch under the iOS header and select UIViewController subclass. Press next and name your new class. Make sure it’s a subclass of UIViewController and not UITableViewController. Hit next again. Then alloc init the new view controller and add it to your tab bar.