From one UIViewController
I call an another UIViewController
FullScreenViewController *anotherViewController = [[FullScreenViewController alloc] initWithNibName:@"FullScreenViewController" bundle:nil];
UIView *theWindow = [currentView superview];
[theWindow addSubview:newView];
On the opened FullScreenViewController
, I want to put an UIButton
to call a method inside the parent UIViewController
.
There's a way to do that? How should I proceed?
Thanks