I'm currently trying to adapt my Android code to iOS. In my app, I launch the AR module from inside a standard iOS viewController (I mean that the camera view is not directly visible when you launch the app. AR is ony part of the app.)
There is no problem regarding the first launch, however, I cannot manage to close the AR part and re-open it.
With Android, I used to finish the ARActivity and then create a new one. However this solution is not suitable on iOS. I tried to call the "onPause" method while closing the AR module and call the "onResume" method while reopening it (means the viewController is not released), but then I've got a black screen where only the 3D is displayed (no camera feed).
Any idea to fix it? I think that a solution which allows to release the viewController and the openGL view should be far better.