UIView openFrameworks renders content on

Hey everyone,

I’m working on an iOS app (using ofVideoGrabber) using openFrameworks and was wondering what UIView content gets rendered on. I’m asking because I’m trying to screen record the main view of the app where ofVideoGrabber puts its content on, but I can’t seem to figure out which view that is. Any help is greatly appreciated!

For reference, here’s my main.mm:

int main(){
    ofSetCurrentRenderer(ofGLProgrammableRenderer::TYPE);
	ofSetupOpenGL(750, 1334, OF_FULLSCREEN);			// <-------- setup the GL context
    ofRunApp(new ofApp());
}

and my setup method:

void ofApp::setup(){
    faces.allowExt("jpg");
    faces.allowExt("jpeg");
    faces.allowExt("png");
    faces.open("faces/");
    faces.listDir();
    
    ofSetVerticalSync(true);
    cloneReady = false;
    
    photoPicker = [[THPhotoPickerViewController alloc] init];
    
    int screenWidth = [UIScreen mainScreen].bounds.size.width;
    int screenHeight = [UIScreen mainScreen].bounds.size.height;
    setupCam(screenWidth, screenHeight);
    
    ofFbo::Settings settings;
    settings.width = cam.getWidth();
    settings.height = cam.getHeight();
    maskFbo.allocate(settings);
    srcFbo.allocate(settings);
    clone.setup(cam.getWidth(), cam.getHeight());
    
    camTracker.setup();
    srcTracker.setup();
    srcTracker.setIterations(15);
    srcTracker.setAttempts(4);
    
    if ( faces.size() > 0 ) {
        loadFace(faces.getPath(0));
    }
    
    colorCv.allocate(cam.getWidth(), cam.getHeight());
}