How to add UITabBarController to OpenGL xCode 4.2 template ? For some reasons, I have to mix UIKit project with OpenGL ES template.
Can anyone tell me how to achieve it?
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 don’t need to use the OpenGL ES template to use OpenGL in a project. Just use the tab bar template for your project and then copy the necessary files over from the OpenGL project.
You just need to set up the OpenGL view controller as one of the tab bar controller’s view controllers.
If you want to be able to tab between multiple view OpenGL views, you’ll need to set up multiple OpenGL views controllers, one for each tab.