How to dismiss modal ViewController from ofxiOSApp?


I need to save image from my ofxiOSApp and print it using AirPrint.
My plan is to use “iOS Native Example” as starting point, and run ofxiOSApp from MyAppViewController. But I need ofxiOSApp to be in fullscreen mode, so navigation bar should be hidden or I will present ofxiOSApp as Modal ViewController.

The main question is how to dismiss ofxiOSApp ViewController and return back to native part?

Or maybe there is better solution to deal with airPrint? Is it possible to present Native ViewController from ofxiOSApp?