I have created a Tabbar Application using Xcode.
I have 5 different tabs and I want to select tab 1 from tab 3 so that tab 1 gets highlighted in the same way for the other tabs.
Is there a way to do this? If so is there any example code?
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.
Tab indexes start at 0. so index 0 would be the first tab, index 1 would be the second tab etc.
So this is an example IBAction that will work (I just tested it) and send you to the second tab.