我有UITableView
一个行选中另一排时ViewConroller
,也ViewContoller
应该有一个GLView
。我不确定添加OpenGLView
as a subview
to UIView
。
请让我知道我们如何在OpenGLView
内部添加一个UIView
.
我有UITableView
一个行选中另一排时ViewConroller
,也ViewContoller
应该有一个GLView
。我不确定添加OpenGLView
as a subview
to 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.