Combining OpenGL ES and View-Based Application
How to combine OpenGL ES a开发者_JAVA百科pplication with a View-Based Application for iPhone?
You really just link the two together by switching the view in UIWindow.
[window addSubview:yourView];
It really is that easy. You just can't mix OpenGL ES and UIView drawing within the same view, unless you stop OpenGL ES animating of course.
精彩评论