currently i am working in game application, Already i have one viewcontroller (and make GLKView), now another one viewcontroller then how to customize a GLKView, please help me
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.
Yes it’s possible to create two GLKView, just like it’s possible to create any two views.
I suspect you are also asking about whether the
GLKViewControllercan have twoGLKViewsto control. I’m pretty sure you can only have oneGLKViewperGLKViewControllerif you want to use theGLKViewController‘s frame management features. But you can easily replicate it by hand using theCADisplayLink.Take a look at this tutorial, it’s really helpful:
http://www.raywenderlich.com/5223/beginning-opengl-es-2-0-with-glkit-part-1