black screen / no events in iOS OpenGL ES 2
问题 I'm dealing with an error for about 45 days. I already tried dozens of method calls, change the whole program, but nothing works. I use GLES 2, with a UIViewController that is the rootViewController, that has a view of type UIView, whose layerclass is CAEAGLLayer. When i run the application, the screen gets black and if i press the screen, no events are generated. If i rotate the application, the screen appears and the events work. Even worst, if i dont rotate the application, but put a