$ npm install react-native-tab-bar-ios --save
$ react-native link react-native-tab-bar-ios
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-tab-bar-ios
and addRNCTabBarIos.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNCTabBarIos.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)<
import TabBarIOS from 'react-native-tab-bar-ios';
// TODO: What to do with the module?
RNCTabBarIos;