By jomavifi
on Mon, 04/22/2013 - 17:42
I have created a navigation flow (with UINavigationController) between ViewControllers with AR-flow at the end.
I want to destroy the AR-flow manually by code when I go back (when I leave the AR-flow).
The sample where I am implementing this is UserDefinedTargets (but ImageTargets should look like).
Any idea for this?
Thanks in advance!
PD: NalinS, I tried with Danchoy's suggestion but I couldn't fix it :(
Destroy AR-flow and release resources manually
My recommendation here is not to destroy the AR but simply pause/resume it as per the info in the other threads.
Typically this is handled by the viewDidAppear and ViewDidDisappear methods
N
Destroy AR-flow and release resources manually
I have reviewed these functions (viewDidAppear and viewDidDisappear) and onPause/onResume management, but I want to destroy AR-flow to change the textures in lifecycle of the app.
Destroy AR-flow and release resources manually
I think your best bet might be to manage these from within OpenGL and have calls in to manage it.
N