0

I have a setup where I have bottom navigator created via createBottomTabNavigator, and each tab rendering a native stack navigator created via createNativeStackNavigator. Now I'm trying to merge another app in written in Swift UIkit. That app uses UITabBarController to render tabs created via UINavigationController. Is it possible, either at tab level or screen level to get those screens to render in React Native?

I tried exposing the UINavigationController stack via the NativeModules interface, but I'm not sure how to plug that into the JS bottom navigator.

Any help would be greatly appreciated.

2
  • Can't help with the code, but it needs to be UI component, not a module. Then you'd create a custom navigator with it. Commented Mar 18, 2021 at 22:27
  • @satya164 do you mean I can only export RCTViewManager instance and not UINavigationController instance? Commented Mar 19, 2021 at 6:43

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.