I want to show an EAGLView in my ViewController with the above code:
[((EAGLView*)self.view) drawView]
But it crashes with an error like:
[UIView drawView:]: unrecognized selector sent to instance
It works great in ViewControlller of GLImageProcessing Sample project provided by Apple.
source share