Nic*_*ick 5 passwords autofill ios react-native
我做了一些研究,但在撰写本文时,我找不到任何与新的iOS 11密码自动填充系统集成的React Native应用程序.
我们是否需要使用授权证书(如此处所述:iOS App的密码自动填充和https://willowtreeapps.com/ideas/password-autofill-in-ios-11)
我不确定的部分是如何与React Native集成的?!
小智 5
不幸的是,这需要React Native TextInput来桥接native UITextContentType。好消息是,有一个开放拉取请求将添加以下功能:
https://github.com/facebook/react-native/pull/18526
合并后,您可以支持密码自动填充,如下所示:
<TextInput
value={this.state.username}
textContentType="username"
/>
<TextInput
value={this.state.password}
secureTextEntry={true}
textContentType="password"
/>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3806 次 |
| 最近记录: |