我有UITableView一个行选中另一排时ViewConroller,也ViewContoller应该有一个GLView。我不确定添加OpenGLViewas a subviewto UIView。
请让我知道我们如何在OpenGLView内部添加一个UIView.
我有UITableView一个行选中另一排时ViewConroller,也ViewContoller应该有一个GLView。我不确定添加OpenGLViewas a subviewto UIView。
请让我知道我们如何在OpenGLView内部添加一个UIView.
There is no such thing as an OpenGLView, merely a standard UIView that you've subclassed to have its backing layer be a CAEAGLLayer. You can call the view whatever you want.
Therefore, they behave just like any other UIView subclass and can be added as a subview of another UIView like usual. Nothing special is needed here.