[+] Specify input type to username and password
This commit is contained in:
@@ -619,7 +619,7 @@
|
||||
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="1M0-Wo-TZA">
|
||||
<rect key="frame" x="100" y="0.0" width="274" height="34"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<textInputTraits key="textInputTraits"/>
|
||||
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" smartDashesType="no" smartInsertDeleteType="no" smartQuotesType="no" textContentType="username"/>
|
||||
</textField>
|
||||
</subviews>
|
||||
</stackView>
|
||||
@@ -638,7 +638,7 @@
|
||||
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="3pJ-zP-vKy">
|
||||
<rect key="frame" x="100" y="0.0" width="274" height="34"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<textInputTraits key="textInputTraits" secureTextEntry="YES"/>
|
||||
<textInputTraits key="textInputTraits" secureTextEntry="YES" textContentType="new-password"/>
|
||||
</textField>
|
||||
</subviews>
|
||||
</stackView>
|
||||
@@ -664,6 +664,7 @@
|
||||
</subviews>
|
||||
</stackView>
|
||||
</subviews>
|
||||
<viewLayoutGuide key="safeArea" id="bky-eU-lyX"/>
|
||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
||||
<constraints>
|
||||
<constraint firstItem="bey-TF-Fqa" firstAttribute="centerY" secondItem="ikD-PZ-wEA" secondAttribute="centerY" id="61k-0f-XAy"/>
|
||||
@@ -769,6 +770,7 @@
|
||||
</subviews>
|
||||
</stackView>
|
||||
</subviews>
|
||||
<viewLayoutGuide key="safeArea" id="xo1-tu-MEz"/>
|
||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
||||
<constraints>
|
||||
<constraint firstItem="gYR-mG-zfS" firstAttribute="leading" secondItem="yUd-Ri-s9C" secondAttribute="leading" constant="20" id="LuV-cO-Q8K"/>
|
||||
|
||||
Reference in New Issue
Block a user