How to Close A UIViewController From Your React Native App — The BETTER Way

Refining our previous solution

Matt Croak Code

--

Image from Thinkwik

Previously, I wrote a blog post about how to close a UIViewController from your React Native app on iOS.

The solution I provided makes use of the rootViewController. This is the UIViewController instance that is first displayed on the iOS platform of a React…

--

--