naoufal / react-native-safari-view

A React Native wrapper for Safari View Controller.
https://www.npmjs.com/package/react-native-safari-view
494 stars 110 forks source link

Adds a method to grab the highest controller in the window hierarchy #69

Closed dniccum closed 7 years ago

dniccum commented 7 years ago

This method returns the top-most controller, allowing the Safari View Controller .show() method to be called from virtually anywhere; even from Modal components.

koenpunt commented 7 years ago

Thanks for your contribution, but a solution like this is already proposed in #53