/Demo/ios/Demo.xcodeproj
(1).右键工程文件Add Files to "(你工程名)"
(2).选择node_modules/react-native-vector-icons...在xcode的Info.plist文件中,加入: Fonts provided by application数组,并加入以下9项:
到此环境就算设置好了, 接下来就是使用ICONS了.
4....在Finder中右键用Atom打开工程:
5.然后就开始编辑我们的程序了:
'use strict';
import React, { //导入下面需要使用的原生组件
AppRegistry...,
Component,
View,
StyleSheet,
AlertIOS,
Text,
TabBarIOS,
NavigatorIOS,
} from 'react-native...中的工程文件夹下,输入react-native run-ios(回车)等待程序运行起来就能看到效果啦.