In iOS, how to present a UIViewController and then wait for its return?
I want to use Objective-C, not Swift.
For example, I want to realize something like the following:
CustomViewController *myDialog;
NSString *dialogReturn;
myDialog = [[CustomViewController alloc] init];
dialogReturn = [myDialog show];