开发者

UIButtons unresponsive when put along with EAGLView

In my iPhone game, I have an EAGLView where OpenGL rendering happens. Above it I have 2 UIButtons placed in the XIB. Once the EAGLView Viewcontroller is pushed, for the first few seconds, the UIButtons are unresponsive.

But the OpenGL rendering happens seamlessly. Has anyone suffered from a similar problem ? Any pointers on what could be wro开发者_StackOverflow中文版ng ?

I brought the render time interval from 1.0f/60.0f to 1.0f/30.f, still same problem


I read somewhere that ui elements above the opengl layer don't really work correctly unless you pause the opengl layer

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜