/Demo/ios/Demo.xcodeproj
(1).右键工程文件Add Files to "(你工程名)"
(2).选择node_modules/react-native-vector-icons...在Finder中右键用Atom打开工程:
5.然后就开始编辑我们的程序了:
'use strict';
import React, { //导入下面需要使用的原生组件
AppRegistry...,
Component,
View,
StyleSheet,
AlertIOS,
Text,
TabBarIOS,
NavigatorIOS,
} from 'react-native...';
var Icon = require('react-native-vector-icons/FontAwesome'); </span...{
selectedTab: 'find',
});
}}>
导航栏