应用程序中的密码字段充满了随机数据。这仅在 iOS 中发生,无需输入任何值,这不会发生在 android 的 react-native 中。
我正在使用以下输入:
<TextInput onChangeText={this.handlePassword} secureTextEntry={this.state.showpassword} style={styles.textinputStyle} value={this.state.password} placeholder="Password" placeholderTextColor={colors.white} />
如果 iOS 识别出密码输入字段,则会自动为用户生成密码。更多详细信息可以在 Apple 文档中找到。