I have created a method that calls a UIViewController
and loads it as a subview
like this
cameraViewController = [[CameraViewController alloc] init];
cameraViewController.view.frame = CGRectMake(0.0, 0.0, screenHeight, screenWidth);
[cameraViewController drawCameraView:htmlProjID ProjectGUID:selectedProjGUID DoorGUID:cell.currentItem.doorGUID Info:nil doorName:cell.currentItem.doorDesc ViewName:@"Finishing"];
[self.view addSubview:cameraViewController.view];
I would like to know if there is an easy way to then access a method from camerViewController
(subview) from the original UIViewController
?