Brackets
Brackets

Reputation: 514

Navigate from react native view to ios views in a hybrid app

Hi I was wondering if anyone was able to figure out how to navigate from react native view to native ios view in a hybrid app? I can't seem to find any good documentation for this.

Upvotes: 0

Views: 386

Answers (2)

Anand Ratna
Anand Ratna

Reputation: 116

Expose your class and method to react native. To navigate from react native view to native view NotificationCenter is called. example app source code

Upvotes: 0

Moti Azu
Moti Azu

Reputation: 5442

There is no official API for this in React Native, but you can write some swift/objc code to do it and call it from your React Native code.

You can read here about how you can expose functions from swift/objc to React Native.

Upvotes: 1

Related Questions