It seems that UITabBarController should not be subclassed. How would you recommend that I implement a TabBarController in a rotatable DetailView?
Thank you!
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.
You can add to your controller a delegate to
<UITabBarDelegate>,create a tabBar programmatically
UITabBar * aTabBar;
and fill it with
UITabBarItemsand then implement this function to handle the touch on a tab to switch views
This is in brief parts of the code
In your implementation :
Then you add this method to handle the switching of tabs