I have received a sdk with a storyboard and multiple view controllers. In my react-native module I want to expose a method that will transition to this storyboard and the get the result back. I have tried to follow this answer: React-Native iOS - How can I navigate to a non-React-Native view (native iOS view controller) from a React-Native view with a button press?
I have also tried this code (but we don't have access to the navigationController):
- (void)openStoryBoard{
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"NAME_OF_THE_STORYBOARD" bundle:nil];
UIViewController *vc = [storyboard instantiateInitialViewController];
[self.navigationController pushViewController:vc animated:true];
}
in Android i have just called StartActivityForResult but i couldn't figure it out in ios.
any suggestions are welcomed.