Display a view controller from an OpenGL view

I created an iPhone app based on the OpenGL view. Now I would like to show the "settings" form. Since my code works in a UIView, I don't have a pushViewController. How to show the view manager on the screen?

Thank!

+3
source share
1 answer

You can do this in one of two ways:

  • You can create a new hierarchy of views and then add it as a subheading of your UIWindow if you want to show the settings. When you are done with your privileges, you can animate it and then delete it as a preview.

  • UINavigationController/UIVIewController OpenGL/UIView URIiewController. , UINavigationController.

+4

Source: https://habr.com/ru/post/1698710/


All Articles