react-native中的fontawesome图标与xcode不显示

时间:2020-01-08 21:00:13

标签: xcode react-native font-awesome

在Android系统中,所有图标均正常显示。但是在ios上的TestFlight中,图标显示如下图所示;

Error

编辑: 提到的代码:

<Card borderRadius={25}>
                <View style={{marginBottom: 15}}>
                        <Input
                          placeholder="Email"
                          onChangeText={login => setLogin({ login })}
                          value={login}
                          inputStyle={{ marginLeft: 10, color: 'black' }}
                          containerStyle={{ width: '100%' }}
                          keyboardType="email-address"
                          returnKeyType="next"
                          autoCorrect={false}
                          leftIcon={
                          <Icon
                              name="envelope"
                              type="font-awesome"
                              color="#00A2BC"                    
                              size={20}
                          />
                        }/>
                </View>
 </Card>

我正在使用

从'react-native-elements'导入{图标};

我在iPhone ios上使用TestFlight安装了该应用程序。

0 个答案:

没有答案