Merge pull request #678 from aaronraimist/ios-suggest-password
Set email text field content type to username so iOS offers to autofill passwords
This commit is contained in:
commit
60fbd6227f
|
@ -640,7 +640,7 @@
|
||||||
</constraints>
|
</constraints>
|
||||||
<nil key="textColor"/>
|
<nil key="textColor"/>
|
||||||
<fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
|
<fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
|
||||||
<textInputTraits key="textInputTraits" keyboardType="emailAddress" textContentType="email"/>
|
<textInputTraits key="textInputTraits" keyboardType="emailAddress" textContentType="username"/>
|
||||||
</textField>
|
</textField>
|
||||||
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Password" textAlignment="center" adjustsFontForContentSizeCategory="YES" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="lDh-Kk-Kem">
|
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Password" textAlignment="center" adjustsFontForContentSizeCategory="YES" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="lDh-Kk-Kem">
|
||||||
<rect key="frame" x="0.0" y="240" width="414" height="48"/>
|
<rect key="frame" x="0.0" y="240" width="414" height="48"/>
|
||||||
|
|
Loading…
Reference in New Issue