【发布时间】:2019-06-22 01:56:16
【问题描述】:
钥匙串不会在 iOS 上自动填充我的登录表单。
在 xCode 中,我将 Keychain Sharing 设置为 on,并且在两个步骤旁边都有复选标记:将 Keychain Sharing 权利添加到您的权利文件并将 Keychain Sharing 功能添加到您的 App ID。
<TextField
class="input"
hint="Email"
keyboardType="email"
autocorrect="false"
autocapitalizationType="none"
v-model="user.email"
returnKeyType="next"
@returnPress="focusPassword"
fontSize="18"
/>
<StackLayout class="hr-light"/>
</StackLayout>
<StackLayout class="input-field" marginBottom="15">
<TextField
ref="password"
class="input"
hint="Password"
secure="true"
v-model="user.password"
:returnKeyType="isLoggingIn ? 'done' : 'next'"
fontSize="18"
/>
<StackLayout class="hr-light"/>
</StackLayout>
我很确定问题是我需要将 textContentType 设置为 .username 和 .password 但我不确定如何。
【问题讨论】:
标签: ios nativescript nativescript-vue