title: Get the presented Viewcontroller from ReactNative rootviewcontroller
body: <p>In React Native project I want to access the Presented Viewcontroller from iOS npm module. I'm able to access the rootviewcontroller of the RN project using the below code</p>
  
  <pre><code>UIViewController *vc = [UIApplication sharedApplication].delegate.window.rootViewController;
  </code></pre>
  
  <p>But I want the current VC that is presented on top of RootVC so that I should be able to present native(iOS) UINavigationController on top of it.</p>
  
  <p>Note:<code>[UIApplication sharedApplication].delegate.window.rootViewController.presentedViewController</code> returns nill.</p>