Support for various screen sizes.

pull/1/head
Frederic Jacobs 10 years ago
parent 0e201939b7
commit af3cf25207

@ -1371,52 +1371,35 @@ A0 09 9A FF A8 8A 09 99</string>
<view contentMode="scaleToFill" ambiguous="YES" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="J5f-8V-ASm" userLabel="_1.0a Registration Screen Title">
<rect key="frame" x="-20" y="-20" width="440" height="284"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bih-Mp-9zQ">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<color key="backgroundColor" red="0.12549019607843137" green="0.56470588235294117" blue="0.91764705882352937" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="245" id="ofl-YL-ygN"/>
</constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="ofl-YL-ygN"/>
</mask>
</variation>
<variation key="heightClass=regular-widthClass=compact">
<mask key="constraints">
<include reference="ofl-YL-ygN"/>
</mask>
</variation>
</view>
<button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="g4f-YY-nOK">
<rect key="frame" x="-23" y="-15" width="46" height="30"/>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" ambiguous="YES" misplaced="YES" image="_1.0a_signal_icon" translatesAutoresizingMaskIntoConstraints="NO" id="vpb-XQ-s2c">
<rect key="frame" x="170" y="88" width="101" height="88"/>
<rect key="contentStretch" x="0.0" y="0.0" width="0.0" height="0.0"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="1SZ-4O-DX9"/>
<constraint firstAttribute="width" constant="60" id="E8F-MK-xK2">
<variation key="heightClass=regular-widthClass=compact" constant="100"/>
</constraint>
<constraint firstAttribute="height" constant="82" id="69J-jd-lwK"/>
<constraint firstAttribute="height" constant="88" id="BEa-1M-H8m"/>
<constraint firstAttribute="width" constant="82" id="j3i-s9-njQ"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="88" id="os3-dW-OwD"/>
<constraint firstAttribute="width" constant="101" id="pjp-QF-hen"/>
</constraints>
<fontDescription key="fontDescription" name="HelveticaNeue-Bold" family="Helvetica Neue" pointSize="28"/>
<state key="normal" title="×">
<color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<variation key="default">
<mask key="constraints">
<exclude reference="1SZ-4O-DX9"/>
<exclude reference="E8F-MK-xK2"/>
<exclude reference="69J-jd-lwK"/>
<exclude reference="BEa-1M-H8m"/>
<exclude reference="j3i-s9-njQ"/>
<exclude reference="os3-dW-OwD"/>
<exclude reference="pjp-QF-hen"/>
</mask>
</variation>
<variation key="heightClass=regular-widthClass=compact">
<mask key="constraints">
<include reference="1SZ-4O-DX9"/>
<include reference="E8F-MK-xK2"/>
<include reference="69J-jd-lwK"/>
<exclude reference="BEa-1M-H8m"/>
<include reference="j3i-s9-njQ"/>
<exclude reference="os3-dW-OwD"/>
<exclude reference="pjp-QF-hen"/>
</mask>
</variation>
<connections>
<segue destination="fOo-Na-9Ro" kind="unwind" unwindAction="unwindToUserCancelledChangeNumber:" id="fs8-4f-8UU"/>
</connections>
</button>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="top" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" misplaced="YES" text="Your Phone Number" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="50y-cV-8aI">
<rect key="frame" x="49" y="188" width="343" height="52"/>
<constraints>
@ -1435,195 +1418,50 @@ A0 09 9A FF A8 8A 09 99</string>
<variation key="heightClass=regular-widthClass=compact">
<fontDescription key="fontDescription" name="HelveticaNeue-Medium" family="Helvetica Neue" pointSize="24"/>
<mask key="constraints">
<include reference="8lm-oa-608"/>
<exclude reference="8lm-oa-608"/>
<include reference="T1b-ph-zPv"/>
</mask>
</variation>
</label>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" ambiguous="YES" misplaced="YES" image="_1.0a_signal_icon" translatesAutoresizingMaskIntoConstraints="NO" id="vpb-XQ-s2c">
<rect key="frame" x="170" y="88" width="101" height="88"/>
<rect key="contentStretch" x="0.0" y="0.0" width="0.0" height="0.0"/>
<constraints>
<constraint firstAttribute="height" constant="82" id="69J-jd-lwK"/>
<constraint firstAttribute="height" constant="88" id="BEa-1M-H8m"/>
<constraint firstAttribute="width" constant="82" id="j3i-s9-njQ"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="88" id="os3-dW-OwD"/>
<constraint firstAttribute="width" constant="101" id="pjp-QF-hen"/>
</constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="69J-jd-lwK"/>
<exclude reference="BEa-1M-H8m"/>
<exclude reference="j3i-s9-njQ"/>
<exclude reference="os3-dW-OwD"/>
<exclude reference="pjp-QF-hen"/>
</mask>
</variation>
<variation key="heightClass=regular-widthClass=compact">
<mask key="constraints">
<include reference="69J-jd-lwK"/>
<exclude reference="BEa-1M-H8m"/>
<include reference="j3i-s9-njQ"/>
<exclude reference="os3-dW-OwD"/>
<exclude reference="pjp-QF-hen"/>
</mask>
</variation>
</imageView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<color key="backgroundColor" red="0.12549019607843137" green="0.56470588235294117" blue="0.91764705882352937" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="bih-Mp-9zQ" firstAttribute="centerX" secondItem="vpb-XQ-s2c" secondAttribute="centerX" id="1hK-6R-eAz"/>
<constraint firstAttribute="centerX" secondItem="vpb-XQ-s2c" secondAttribute="centerX" constant="-4.5" id="2qQ-bp-3s5"/>
<constraint firstAttribute="centerX" secondItem="50y-cV-8aI" secondAttribute="centerX" constant="19.5" id="60p-E8-t8Y"/>
<constraint firstItem="g4f-YY-nOK" firstAttribute="top" secondItem="J5f-8V-ASm" secondAttribute="top" constant="20" id="6DF-jN-mTR"/>
<constraint firstAttribute="centerX" secondItem="50y-cV-8aI" secondAttribute="centerX" constant="4.5" id="8WJ-Dw-sZT"/>
<constraint firstAttribute="bottom" secondItem="50y-cV-8aI" secondAttribute="bottom" id="8qe-4m-qYy"/>
<constraint firstAttribute="centerX" secondItem="vpb-XQ-s2c" secondAttribute="centerX" constant="9.5" id="8w9-ls-jhp"/>
<constraint firstItem="50y-cV-8aI" firstAttribute="top" secondItem="vpb-XQ-s2c" secondAttribute="bottom" constant="24" id="CHs-7G-pMv"/>
<constraint firstAttribute="centerX" secondItem="50y-cV-8aI" secondAttribute="centerX" constant="4.5" id="CL4-af-I4S"/>
<constraint firstAttribute="centerX" secondItem="50y-cV-8aI" secondAttribute="centerX" constant="-11.5" id="Cci-nw-PEs"/>
<constraint firstItem="bih-Mp-9zQ" firstAttribute="leading" secondItem="J5f-8V-ASm" secondAttribute="leading" id="H4p-pC-GKK"/>
<constraint firstAttribute="centerX" secondItem="vpb-XQ-s2c" secondAttribute="centerX" constant="9" id="HF0-XT-t3f"/>
<constraint firstAttribute="centerY" secondItem="vpb-XQ-s2c" secondAttribute="centerY" constant="30" id="IWQ-ML-HCa"/>
<constraint firstAttribute="trailing" secondItem="vpb-XQ-s2c" secondAttribute="trailing" constant="182" id="JXm-V4-8i8"/>
<constraint firstAttribute="centerX" secondItem="50y-cV-8aI" secondAttribute="centerX" constant="4.5" id="KAT-yd-jyO"/>
<constraint firstItem="50y-cV-8aI" firstAttribute="bottom" secondItem="bih-Mp-9zQ" secondAttribute="bottom" constant="-23" id="Mj3-5g-NuN"/>
<constraint firstAttribute="trailing" secondItem="vpb-XQ-s2c" secondAttribute="trailing" constant="145" id="O8i-b4-eZJ"/>
<constraint firstItem="vpb-XQ-s2c" firstAttribute="leading" secondItem="J5f-8V-ASm" secondAttribute="leading" constant="154" id="OeX-lc-2Ie"/>
<constraint firstItem="vpb-XQ-s2c" firstAttribute="leading" secondItem="J5f-8V-ASm" secondAttribute="leading" constant="154" id="OqR-Ko-pfG"/>
<constraint firstAttribute="centerX" secondItem="vpb-XQ-s2c" secondAttribute="centerX" constant="9.5" id="Qtr-Tk-lXS"/>
<constraint firstItem="vpb-XQ-s2c" firstAttribute="top" secondItem="J5f-8V-ASm" secondAttribute="top" constant="94" id="TSL-zS-JpX"/>
<constraint firstItem="50y-cV-8aI" firstAttribute="leading" secondItem="J5f-8V-ASm" secondAttribute="leading" constant="100" id="Vh4-YW-QTj"/>
<constraint firstAttribute="centerX" secondItem="vpb-XQ-s2c" secondAttribute="centerX" constant="-4.5" id="W7z-Wr-AoT"/>
<constraint firstAttribute="bottom" secondItem="50y-cV-8aI" secondAttribute="bottom" constant="23" id="WdN-Ij-VuR"/>
<constraint firstItem="vpb-XQ-s2c" firstAttribute="top" secondItem="J5f-8V-ASm" secondAttribute="top" constant="81" id="Zrs-Mw-ylG">
<variation key="heightClass=regular-widthClass=compact" constant="88"/>
</constraint>
<constraint firstAttribute="centerX" secondItem="vpb-XQ-s2c" secondAttribute="centerX" constant="-4.5" id="a1m-Gt-nQH"/>
<constraint firstAttribute="bottom" secondItem="50y-cV-8aI" secondAttribute="bottom" constant="23" id="bCr-oA-Ny3"/>
<constraint firstAttribute="centerX" secondItem="50y-cV-8aI" secondAttribute="centerX" id="blZ-sC-29r"/>
<constraint firstAttribute="centerX" secondItem="50y-cV-8aI" secondAttribute="centerX" constant="-11.5" id="cA6-lK-Na0"/>
<constraint firstAttribute="centerX" secondItem="vpb-XQ-s2c" secondAttribute="centerX" constant="-4.5" id="dF0-eh-5vo"/>
<constraint firstAttribute="trailing" secondItem="50y-cV-8aI" secondAttribute="trailing" constant="77" id="eIP-IT-GJI"/>
<constraint firstItem="bih-Mp-9zQ" firstAttribute="width" secondItem="J5f-8V-ASm" secondAttribute="width" id="ejc-s3-FLg"/>
<constraint firstItem="g4f-YY-nOK" firstAttribute="leading" secondItem="J5f-8V-ASm" secondAttribute="leading" constant="40" id="g3X-3b-amN"/>
<constraint firstItem="50y-cV-8aI" firstAttribute="centerX" secondItem="bih-Mp-9zQ" secondAttribute="centerX" constant="-4.5" id="hMn-Jp-ywy"/>
<constraint firstAttribute="trailing" secondItem="vpb-XQ-s2c" secondAttribute="trailing" constant="145" id="jGX-Vm-4gz"/>
<constraint firstAttribute="trailing" secondItem="bih-Mp-9zQ" secondAttribute="trailing" id="jMu-sr-ay8"/>
<constraint firstAttribute="centerX" secondItem="vpb-XQ-s2c" secondAttribute="centerX" constant="20" id="jkO-Jz-SRj"/>
<constraint firstItem="vpb-XQ-s2c" firstAttribute="leading" secondItem="J5f-8V-ASm" secondAttribute="leading" constant="164" id="lWY-fi-naG"/>
<constraint firstAttribute="bottom" secondItem="vpb-XQ-s2c" secondAttribute="bottom" constant="69" id="mbr-lC-59J"/>
<constraint firstAttribute="bottom" secondItem="50y-cV-8aI" secondAttribute="bottom" constant="81" id="nDH-ky-DFB"/>
<constraint firstItem="bih-Mp-9zQ" firstAttribute="top" secondItem="J5f-8V-ASm" secondAttribute="top" id="ojn-s9-Ixu"/>
<constraint firstItem="bih-Mp-9zQ" firstAttribute="bottom" secondItem="vpb-XQ-s2c" secondAttribute="bottom" constant="69" id="sEt-UU-O9o"/>
<constraint firstItem="50y-cV-8aI" firstAttribute="top" secondItem="J5f-8V-ASm" secondAttribute="top" constant="193" id="uis-Dr-X0G"/>
<constraint firstAttribute="centerY" secondItem="vpb-XQ-s2c" secondAttribute="centerY" constant="30" id="wTg-h4-2pO"/>
<constraint firstAttribute="bottom" secondItem="vpb-XQ-s2c" secondAttribute="bottom" constant="63" id="L5M-uA-z8q"/>
<constraint firstItem="vpb-XQ-s2c" firstAttribute="top" secondItem="J5f-8V-ASm" secondAttribute="top" constant="100" id="LWv-Rh-i91"/>
<constraint firstAttribute="centerX" secondItem="50y-cV-8aI" secondAttribute="centerX" id="eOY-3p-Xc8"/>
<constraint firstItem="50y-cV-8aI" firstAttribute="top" secondItem="vpb-XQ-s2c" secondAttribute="bottom" constant="8" id="hNQ-i5-6Oo"/>
<constraint firstAttribute="centerX" secondItem="vpb-XQ-s2c" secondAttribute="centerX" id="rSF-ow-gel"/>
<constraint firstAttribute="width" secondItem="50y-cV-8aI" secondAttribute="width" id="xgJ-w1-7oN"/>
<constraint firstAttribute="height" constant="245" id="y0A-n2-Thn"/>
</constraints>
<variation key="default">
<mask key="subviews">
<exclude reference="bih-Mp-9zQ"/>
<exclude reference="g4f-YY-nOK"/>
<exclude reference="vpb-XQ-s2c"/>
<exclude reference="50y-cV-8aI"/>
</mask>
<mask key="constraints">
<exclude reference="y0A-n2-Thn"/>
<exclude reference="6DF-jN-mTR"/>
<exclude reference="g3X-3b-amN"/>
<exclude reference="2qQ-bp-3s5"/>
<exclude reference="8w9-ls-jhp"/>
<exclude reference="HF0-XT-t3f"/>
<exclude reference="IWQ-ML-HCa"/>
<exclude reference="JXm-V4-8i8"/>
<exclude reference="O8i-b4-eZJ"/>
<exclude reference="OeX-lc-2Ie"/>
<exclude reference="OqR-Ko-pfG"/>
<exclude reference="Qtr-Tk-lXS"/>
<exclude reference="TSL-zS-JpX"/>
<exclude reference="W7z-Wr-AoT"/>
<exclude reference="Zrs-Mw-ylG"/>
<exclude reference="a1m-Gt-nQH"/>
<exclude reference="dF0-eh-5vo"/>
<exclude reference="jGX-Vm-4gz"/>
<exclude reference="jkO-Jz-SRj"/>
<exclude reference="lWY-fi-naG"/>
<exclude reference="mbr-lC-59J"/>
<exclude reference="wTg-h4-2pO"/>
<exclude reference="60p-E8-t8Y"/>
<exclude reference="8WJ-Dw-sZT"/>
<exclude reference="8qe-4m-qYy"/>
<exclude reference="CHs-7G-pMv"/>
<exclude reference="CL4-af-I4S"/>
<exclude reference="Cci-nw-PEs"/>
<exclude reference="KAT-yd-jyO"/>
<exclude reference="Mj3-5g-NuN"/>
<exclude reference="Vh4-YW-QTj"/>
<exclude reference="WdN-Ij-VuR"/>
<exclude reference="bCr-oA-Ny3"/>
<exclude reference="blZ-sC-29r"/>
<exclude reference="cA6-lK-Na0"/>
<exclude reference="eIP-IT-GJI"/>
<exclude reference="hMn-Jp-ywy"/>
<exclude reference="nDH-ky-DFB"/>
<exclude reference="uis-Dr-X0G"/>
<exclude reference="1hK-6R-eAz"/>
<exclude reference="H4p-pC-GKK"/>
<exclude reference="ejc-s3-FLg"/>
<exclude reference="jMu-sr-ay8"/>
<exclude reference="ojn-s9-Ixu"/>
<exclude reference="sEt-UU-O9o"/>
<exclude reference="L5M-uA-z8q"/>
<exclude reference="LWv-Rh-i91"/>
<exclude reference="rSF-ow-gel"/>
<exclude reference="eOY-3p-Xc8"/>
<exclude reference="hNQ-i5-6Oo"/>
<exclude reference="xgJ-w1-7oN"/>
</mask>
</variation>
<variation key="heightClass=regular-widthClass=compact">
<mask key="subviews">
<include reference="bih-Mp-9zQ"/>
<include reference="g4f-YY-nOK"/>
<include reference="vpb-XQ-s2c"/>
<include reference="50y-cV-8aI"/>
</mask>
<mask key="constraints">
<include reference="y0A-n2-Thn"/>
<include reference="6DF-jN-mTR"/>
<include reference="g3X-3b-amN"/>
<exclude reference="2qQ-bp-3s5"/>
<exclude reference="8w9-ls-jhp"/>
<exclude reference="HF0-XT-t3f"/>
<exclude reference="IWQ-ML-HCa"/>
<exclude reference="JXm-V4-8i8"/>
<exclude reference="O8i-b4-eZJ"/>
<exclude reference="OeX-lc-2Ie"/>
<exclude reference="OqR-Ko-pfG"/>
<exclude reference="Qtr-Tk-lXS"/>
<exclude reference="TSL-zS-JpX"/>
<exclude reference="W7z-Wr-AoT"/>
<exclude reference="Zrs-Mw-ylG"/>
<exclude reference="a1m-Gt-nQH"/>
<exclude reference="dF0-eh-5vo"/>
<exclude reference="jGX-Vm-4gz"/>
<exclude reference="jkO-Jz-SRj"/>
<exclude reference="lWY-fi-naG"/>
<exclude reference="mbr-lC-59J"/>
<exclude reference="wTg-h4-2pO"/>
<exclude reference="60p-E8-t8Y"/>
<exclude reference="8WJ-Dw-sZT"/>
<exclude reference="8qe-4m-qYy"/>
<exclude reference="CHs-7G-pMv"/>
<exclude reference="CL4-af-I4S"/>
<exclude reference="Cci-nw-PEs"/>
<exclude reference="KAT-yd-jyO"/>
<include reference="Mj3-5g-NuN"/>
<exclude reference="Vh4-YW-QTj"/>
<exclude reference="WdN-Ij-VuR"/>
<exclude reference="bCr-oA-Ny3"/>
<exclude reference="blZ-sC-29r"/>
<exclude reference="cA6-lK-Na0"/>
<exclude reference="eIP-IT-GJI"/>
<include reference="hMn-Jp-ywy"/>
<exclude reference="nDH-ky-DFB"/>
<exclude reference="uis-Dr-X0G"/>
<include reference="1hK-6R-eAz"/>
<include reference="H4p-pC-GKK"/>
<include reference="ejc-s3-FLg"/>
<include reference="jMu-sr-ay8"/>
<include reference="ojn-s9-Ixu"/>
<include reference="sEt-UU-O9o"/>
<include reference="L5M-uA-z8q"/>
<exclude reference="LWv-Rh-i91"/>
<include reference="rSF-ow-gel"/>
<include reference="eOY-3p-Xc8"/>
<include reference="hNQ-i5-6Oo"/>
<include reference="xgJ-w1-7oN"/>
</mask>
</variation>
</view>
@ -2073,6 +1911,7 @@ A0 09 9A FF A8 8A 09 99</string>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="oS3-t9-5np" firstAttribute="top" secondItem="J5f-8V-ASm" secondAttribute="top" constant="245" id="0CS-xk-EYR"/>
<constraint firstAttribute="trailingMargin" secondItem="J5f-8V-ASm" secondAttribute="trailing" constant="-56" id="18Y-oL-GhL">
<variation key="heightClass=regular-widthClass=compact" constant="0.0"/>
</constraint>
@ -2083,6 +1922,7 @@ A0 09 9A FF A8 8A 09 99</string>
<constraint firstItem="J5f-8V-ASm" firstAttribute="top" secondItem="kUb-Rf-uos" secondAttribute="bottom" constant="-20" id="5q1-bZ-OlJ">
<variation key="heightClass=regular-widthClass=compact" constant="0.0"/>
</constraint>
<constraint firstItem="oS3-t9-5np" firstAttribute="top" secondItem="J5f-8V-ASm" secondAttribute="bottom" id="71e-hb-Z1h"/>
<constraint firstItem="tSy-r0-e7H" firstAttribute="leading" secondItem="Y3I-8Y-pLa" secondAttribute="leadingMargin" constant="-16" id="7gL-a6-EKK"/>
<constraint firstItem="J5f-8V-ASm" firstAttribute="leading" secondItem="Y3I-8Y-pLa" secondAttribute="leadingMargin" constant="-16" id="8fi-q3-hrb"/>
<constraint firstItem="oS3-t9-5np" firstAttribute="top" secondItem="J5f-8V-ASm" secondAttribute="bottom" id="AXF-YV-V5G"/>
@ -2094,25 +1934,33 @@ A0 09 9A FF A8 8A 09 99</string>
<variation key="heightClass=regular-widthClass=compact" constant="-30"/>
</constraint>
<constraint firstItem="J5f-8V-ASm" firstAttribute="leading" secondItem="Y3I-8Y-pLa" secondAttribute="leadingMargin" constant="-16" id="EFd-DC-Hr0"/>
<constraint firstItem="tSy-r0-e7H" firstAttribute="top" secondItem="oS3-t9-5np" secondAttribute="bottom" id="Fph-pt-xzK"/>
<constraint firstItem="J5f-8V-ASm" firstAttribute="leading" secondItem="Y3I-8Y-pLa" secondAttribute="leadingMargin" constant="-16" id="GdM-Ov-pj9">
<variation key="heightClass=regular-widthClass=compact" constant="0.0"/>
</constraint>
<constraint firstItem="g8J-Eg-0PT" firstAttribute="width" secondItem="tSy-r0-e7H" secondAttribute="width" id="KQJ-bB-VfX"/>
<constraint firstAttribute="centerX" secondItem="g8J-Eg-0PT" secondAttribute="centerX" id="Kfi-ob-ixg"/>
<constraint firstItem="oS3-t9-5np" firstAttribute="top" secondItem="tSy-r0-e7H" secondAttribute="top" constant="-60" id="N2G-6p-axk"/>
<constraint firstAttribute="trailingMargin" secondItem="oS3-t9-5np" secondAttribute="trailing" constant="16" id="Nur-9e-Onc"/>
<constraint firstItem="tSy-r0-e7H" firstAttribute="leading" secondItem="Y3I-8Y-pLa" secondAttribute="leadingMargin" constant="-16" id="NvD-GX-gzB"/>
<constraint firstItem="J5f-8V-ASm" firstAttribute="width" secondItem="oS3-t9-5np" secondAttribute="width" id="NwW-ai-v8s"/>
<constraint firstItem="tSy-r0-e7H" firstAttribute="bottom" secondItem="J5f-8V-ASm" secondAttribute="top" constant="246" id="OEH-Q7-zMV"/>
<constraint firstAttribute="trailingMargin" secondItem="oS3-t9-5np" secondAttribute="trailing" constant="-16" id="R4y-T6-4hQ"/>
<constraint firstItem="g8J-Eg-0PT" firstAttribute="top" secondItem="tSy-r0-e7H" secondAttribute="bottom" constant="9" id="RMp-tP-gJl"/>
<constraint firstItem="g8J-Eg-0PT" firstAttribute="leading" secondItem="Y3I-8Y-pLa" secondAttribute="leadingMargin" constant="-16" id="Tiq-gc-mL4"/>
<constraint firstItem="oS3-t9-5np" firstAttribute="top" secondItem="kUb-Rf-uos" secondAttribute="bottom" constant="225" id="UO8-7Q-Su7"/>
<constraint firstItem="J5f-8V-ASm" firstAttribute="width" secondItem="Y3I-8Y-pLa" secondAttribute="width" id="VC9-DR-mZb"/>
<constraint firstItem="g8J-Eg-0PT" firstAttribute="top" secondItem="kUb-Rf-uos" secondAttribute="bottom" constant="355" id="Vzu-nJ-6A3"/>
<constraint firstItem="g8J-Eg-0PT" firstAttribute="leading" secondItem="Y3I-8Y-pLa" secondAttribute="leadingMargin" constant="-36" id="W4q-4U-e7s">
<variation key="heightClass=regular-widthClass=compact" constant="0.0"/>
</constraint>
<constraint firstItem="g8J-Eg-0PT" firstAttribute="top" secondItem="kUb-Rf-uos" secondAttribute="bottom" constant="375" id="WGj-Pd-97C"/>
<constraint firstItem="J5f-8V-ASm" firstAttribute="top" secondItem="kUb-Rf-uos" secondAttribute="bottom" constant="-20" id="WnH-Ur-Lz4"/>
<constraint firstItem="J5f-8V-ASm" firstAttribute="top" secondItem="kUb-Rf-uos" secondAttribute="bottom" constant="-20" id="WnH-Ur-Lz4">
<variation key="heightClass=regular-widthClass=compact" constant="-20"/>
</constraint>
<constraint firstItem="oS3-t9-5np" firstAttribute="top" secondItem="kUb-Rf-uos" secondAttribute="bottom" constant="225" id="XhP-jW-N6c"/>
<constraint firstItem="oS3-t9-5np" firstAttribute="top" secondItem="J5f-8V-ASm" secondAttribute="top" constant="245" id="YpX-Rh-yEA"/>
<constraint firstItem="J5f-8V-ASm" firstAttribute="leading" secondItem="oS3-t9-5np" secondAttribute="leading" id="Z28-Dh-1S0"/>
<constraint firstAttribute="centerX" secondItem="oS3-t9-5np" secondAttribute="centerX" id="ZaF-pB-kQf"/>
<constraint firstItem="J5f-8V-ASm" firstAttribute="leading" secondItem="Y3I-8Y-pLa" secondAttribute="leadingMargin" constant="-16" id="ZcI-uo-17b">
<variation key="heightClass=regular-widthClass=compact" constant="-30"/>
@ -2137,6 +1985,7 @@ A0 09 9A FF A8 8A 09 99</string>
<variation key="heightClass=regular-widthClass=compact" constant="61"/>
</constraint>
<constraint firstItem="oS3-t9-5np" firstAttribute="bottom" secondItem="J5f-8V-ASm" secondAttribute="bottom" constant="60" id="i4u-Xy-wKZ"/>
<constraint firstAttribute="centerX" secondItem="J5f-8V-ASm" secondAttribute="centerX" id="kna-iw-ZWQ"/>
<constraint firstAttribute="trailingMargin" secondItem="J5f-8V-ASm" secondAttribute="trailing" constant="-16" id="lut-LQ-HCL"/>
<constraint firstItem="oS3-t9-5np" firstAttribute="leading" secondItem="Y3I-8Y-pLa" secondAttribute="leadingMargin" constant="-16" id="m2R-bT-UKB"/>
<constraint firstAttribute="centerX" secondItem="tSy-r0-e7H" secondAttribute="centerX" id="m2d-pE-Bog"/>
@ -2166,9 +2015,12 @@ A0 09 9A FF A8 8A 09 99</string>
<exclude reference="EFd-DC-Hr0"/>
<exclude reference="GdM-Ov-pj9"/>
<exclude reference="NwW-ai-v8s"/>
<exclude reference="VC9-DR-mZb"/>
<exclude reference="WnH-Ur-Lz4"/>
<exclude reference="Z28-Dh-1S0"/>
<exclude reference="ZcI-uo-17b"/>
<exclude reference="bLG-ZC-XcR"/>
<exclude reference="kna-iw-ZWQ"/>
<exclude reference="lut-LQ-HCL"/>
<exclude reference="mqQ-M3-cTP"/>
<exclude reference="nF3-wZ-DZe"/>
@ -2176,18 +2028,23 @@ A0 09 9A FF A8 8A 09 99</string>
<exclude reference="xnZ-BG-bsd"/>
<exclude reference="xrz-QF-3wf"/>
<exclude reference="zwg-8a-e1y"/>
<exclude reference="0CS-xk-EYR"/>
<exclude reference="3EZ-dN-uSz"/>
<exclude reference="4vH-Bt-8Et"/>
<exclude reference="71e-hb-Z1h"/>
<exclude reference="AXF-YV-V5G"/>
<exclude reference="N2G-6p-axk"/>
<exclude reference="Nur-9e-Onc"/>
<exclude reference="R4y-T6-4hQ"/>
<exclude reference="UO8-7Q-Su7"/>
<exclude reference="XhP-jW-N6c"/>
<exclude reference="YpX-Rh-yEA"/>
<exclude reference="ZaF-pB-kQf"/>
<exclude reference="i4u-Xy-wKZ"/>
<exclude reference="m2R-bT-UKB"/>
<exclude reference="3mv-og-RyE"/>
<exclude reference="7gL-a6-EKK"/>
<exclude reference="Fph-pt-xzK"/>
<exclude reference="NvD-GX-gzB"/>
<exclude reference="OEH-Q7-zMV"/>
<exclude reference="aPi-P5-Xom"/>
@ -2203,6 +2060,7 @@ A0 09 9A FF A8 8A 09 99</string>
<exclude reference="BWm-zI-175"/>
<exclude reference="KQJ-bB-VfX"/>
<exclude reference="Kfi-ob-ixg"/>
<exclude reference="RMp-tP-gJl"/>
<exclude reference="Tiq-gc-mL4"/>
<exclude reference="Vzu-nJ-6A3"/>
<exclude reference="W4q-4U-e7s"/>
@ -2222,13 +2080,16 @@ A0 09 9A FF A8 8A 09 99</string>
<exclude reference="5q1-bZ-OlJ"/>
<exclude reference="8fi-q3-hrb"/>
<exclude reference="CAi-cy-0Jj"/>
<include reference="DnZ-or-Hmq"/>
<exclude reference="DnZ-or-Hmq"/>
<exclude reference="EFd-DC-Hr0"/>
<exclude reference="GdM-Ov-pj9"/>
<exclude reference="NwW-ai-v8s"/>
<include reference="VC9-DR-mZb"/>
<include reference="WnH-Ur-Lz4"/>
<include reference="ZcI-uo-17b"/>
<exclude reference="Z28-Dh-1S0"/>
<exclude reference="ZcI-uo-17b"/>
<exclude reference="bLG-ZC-XcR"/>
<include reference="kna-iw-ZWQ"/>
<exclude reference="lut-LQ-HCL"/>
<exclude reference="mqQ-M3-cTP"/>
<exclude reference="nF3-wZ-DZe"/>
@ -2236,18 +2097,23 @@ A0 09 9A FF A8 8A 09 99</string>
<exclude reference="xnZ-BG-bsd"/>
<exclude reference="xrz-QF-3wf"/>
<exclude reference="zwg-8a-e1y"/>
<exclude reference="0CS-xk-EYR"/>
<include reference="3EZ-dN-uSz"/>
<include reference="4vH-Bt-8Et"/>
<include reference="71e-hb-Z1h"/>
<exclude reference="AXF-YV-V5G"/>
<exclude reference="N2G-6p-axk"/>
<exclude reference="Nur-9e-Onc"/>
<include reference="R4y-T6-4hQ"/>
<exclude reference="UO8-7Q-Su7"/>
<include reference="XhP-jW-N6c"/>
<exclude reference="XhP-jW-N6c"/>
<exclude reference="YpX-Rh-yEA"/>
<exclude reference="ZaF-pB-kQf"/>
<exclude reference="i4u-Xy-wKZ"/>
<exclude reference="m2R-bT-UKB"/>
<exclude reference="3mv-og-RyE"/>
<exclude reference="7gL-a6-EKK"/>
<include reference="Fph-pt-xzK"/>
<include reference="NvD-GX-gzB"/>
<exclude reference="OEH-Q7-zMV"/>
<exclude reference="aPi-P5-Xom"/>
@ -2258,13 +2124,14 @@ A0 09 9A FF A8 8A 09 99</string>
<exclude reference="fB0-je-8HO"/>
<exclude reference="g8P-mc-caY"/>
<exclude reference="m2d-pE-Bog"/>
<include reference="os0-kg-6Xt"/>
<exclude reference="os0-kg-6Xt"/>
<exclude reference="vhq-mR-ULu"/>
<include reference="BWm-zI-175"/>
<exclude reference="KQJ-bB-VfX"/>
<exclude reference="Kfi-ob-ixg"/>
<include reference="RMp-tP-gJl"/>
<include reference="Tiq-gc-mL4"/>
<include reference="Vzu-nJ-6A3"/>
<exclude reference="Vzu-nJ-6A3"/>
<exclude reference="W4q-4U-e7s"/>
<exclude reference="WGj-Pd-97C"/>
<exclude reference="aP2-MT-dWD"/>
@ -2277,17 +2144,17 @@ A0 09 9A FF A8 8A 09 99</string>
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/>
<nil key="simulatedTopBarMetrics"/>
<connections>
<outlet property="cancelReregButton" destination="g4f-YY-nOK" id="E9G-jz-GOg"/>
<outlet property="countryCodeButton" destination="VvN-1x-NvR" id="4lX-oF-LcQ"/>
<outlet property="countryNameButton" destination="ngV-Kv-6Ax" id="g5m-JR-9we"/>
<outlet property="headerHeightConstraint" destination="y0A-n2-Thn" id="qgl-Ww-e2Y"/>
<outlet property="phoneNumberTextField" destination="tTJ-pq-Z9L" id="gPX-pu-twz"/>
<outlet property="sendCodeButton" destination="7IK-hd-tli" id="zj7-3u-4OR"/>
<outlet property="signalLogo" destination="vpb-XQ-s2c" id="EhT-Ej-yGd"/>
<outlet property="spinnerView" destination="Uhw-zc-NhO" id="Qck-ul-rgQ"/>
<segue destination="3Uo-Ow-qOD" kind="show" identifier="codeSent" id="KhC-MI-Evx"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="rfK-ej-7ve" userLabel="First Responder" sceneMemberID="firstResponder"/>
<exit id="fOo-Na-9Ro" userLabel="Exit" sceneMemberID="exit"/>
</objects>
<point key="canvasLocation" x="-7417.5" y="-774"/>
</scene>
@ -3150,189 +3017,102 @@ A0 09 9A FF A8 8A 09 99</string>
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KNM-fQ-7xK" userLabel="_1.1a Verification Screen Title">
<view contentMode="scaleToFill" ambiguous="YES" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="lIs-Ck-sAt" userLabel="_1.1a Validation Screen Title">
<rect key="frame" x="-20" y="-20" width="440" height="284"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="fill" contentVerticalAlignment="top" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="duA-Hi-Taa">
<rect key="frame" x="20" y="20" width="400" height="244"/>
<color key="backgroundColor" red="0.066666666666666666" green="0.55686274509803924" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" ambiguous="YES" misplaced="YES" image="_1.0a_signal_icon" translatesAutoresizingMaskIntoConstraints="NO" id="hW3-07-YNo" userLabel="signal_icon">
<rect key="frame" x="170" y="88" width="101" height="88"/>
<rect key="contentStretch" x="0.0" y="0.0" width="0.0" height="0.0"/>
<constraints>
<constraint firstAttribute="height" constant="245" id="ehC-ZG-ZfJ"/>
<constraint firstAttribute="height" constant="245" id="xio-Zg-dSO"/>
<constraint firstAttribute="width" constant="101" id="6PG-XN-ctl"/>
<constraint firstAttribute="height" constant="88" id="Wlg-7O-XdE"/>
<constraint firstAttribute="height" constant="82" id="a8j-KR-NpB"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="88" id="cmg-JE-a0T"/>
<constraint firstAttribute="width" constant="82" id="jlJ-an-IhP"/>
</constraints>
<state key="normal">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<variation key="default">
<mask key="constraints">
<exclude reference="ehC-ZG-ZfJ"/>
<exclude reference="xio-Zg-dSO"/>
<exclude reference="a8j-KR-NpB"/>
<exclude reference="Wlg-7O-XdE"/>
<exclude reference="jlJ-an-IhP"/>
<exclude reference="cmg-JE-a0T"/>
<exclude reference="6PG-XN-ctl"/>
</mask>
</variation>
<variation key="heightClass=regular-widthClass=compact">
<mask key="constraints">
<exclude reference="ehC-ZG-ZfJ"/>
<include reference="xio-Zg-dSO"/>
<include reference="a8j-KR-NpB"/>
<exclude reference="Wlg-7O-XdE"/>
<include reference="jlJ-an-IhP"/>
<exclude reference="cmg-JE-a0T"/>
<exclude reference="6PG-XN-ctl"/>
</mask>
</variation>
</button>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" fixedFrame="YES" image="_1.0a_signal_icon" translatesAutoresizingMaskIntoConstraints="NO" id="ZYC-du-EoE">
<rect key="frame" x="170" y="88" width="101" height="88"/>
<variation key="heightClass=regular-widthClass=compact" misplaced="YES">
<rect key="frame" x="174" y="94" width="82" height="82"/>
</variation>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="top" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Verification" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="H86-pu-aKA">
<label opaque="NO" userInteractionEnabled="NO" contentMode="top" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" misplaced="YES" text="Verification" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="e8Y-At-xEK">
<rect key="frame" x="49" y="188" width="343" height="52"/>
<constraints>
<constraint firstAttribute="width" constant="123" id="iFH-q0-PrO"/>
<constraint firstAttribute="width" constant="123" id="p0U-PR-Ub3"/>
<constraint firstAttribute="height" constant="29" id="Mem-ez-9kw"/>
<constraint firstAttribute="width" constant="223" id="lBf-Vx-2UH"/>
</constraints>
<fontDescription key="fontDescription" name="HelveticaNeue-Medium" family="Helvetica Neue" pointSize="24"/>
<fontDescription key="fontDescription" name="HelveticaNeue-Medium" family="Helvetica Neue" pointSize="20"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
<variation key="default">
<mask key="constraints">
<exclude reference="iFH-q0-PrO"/>
<exclude reference="p0U-PR-Ub3"/>
<exclude reference="lBf-Vx-2UH"/>
<exclude reference="Mem-ez-9kw"/>
</mask>
</variation>
<variation key="heightClass=regular-widthClass=compact">
<fontDescription key="fontDescription" name="HelveticaNeue-Medium" family="Helvetica Neue" pointSize="24"/>
<mask key="constraints">
<include reference="iFH-q0-PrO"/>
<exclude reference="p0U-PR-Ub3"/>
<exclude reference="lBf-Vx-2UH"/>
<include reference="Mem-ez-9kw"/>
</mask>
</variation>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<color key="backgroundColor" red="0.12549019610000001" green="0.56470588239999997" blue="0.91764705879999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="H86-pu-aKA" secondAttribute="bottom" constant="81" id="05d-DD-a8f"/>
<constraint firstAttribute="centerY" secondItem="ZYC-du-EoE" secondAttribute="centerY" constant="30" id="4Cu-O5-LNU"/>
<constraint firstAttribute="centerX" secondItem="ZYC-du-EoE" secondAttribute="centerX" constant="20" id="82b-mx-FQe"/>
<constraint firstAttribute="centerX" secondItem="H86-pu-aKA" secondAttribute="centerX" constant="19.5" id="8c8-Cy-MMy"/>
<constraint firstAttribute="centerX" secondItem="ZYC-du-EoE" secondAttribute="centerX" constant="15.5" id="8ob-4c-A08"/>
<constraint firstItem="ZYC-du-EoE" firstAttribute="top" secondItem="KNM-fQ-7xK" secondAttribute="top" constant="85" id="BHE-71-BZ8">
<variation key="heightClass=regular-widthClass=compact" constant="88"/>
</constraint>
<constraint firstItem="H86-pu-aKA" firstAttribute="leading" secondItem="KNM-fQ-7xK" secondAttribute="leading" constant="139" id="E9K-Cl-JMD"/>
<constraint firstAttribute="height" constant="245" id="EfR-Eb-pTB"/>
<constraint firstAttribute="bottom" secondItem="H86-pu-aKA" secondAttribute="bottom" constant="23" id="Kl3-DM-qLh"/>
<constraint firstItem="duA-Hi-Taa" firstAttribute="width" secondItem="KNM-fQ-7xK" secondAttribute="width" id="Knz-Ao-YeP"/>
<constraint firstAttribute="centerX" secondItem="H86-pu-aKA" secondAttribute="centerX" constant="19.5" id="LNK-Jx-0RA">
<variation key="heightClass=regular-widthClass=compact" constant="0.0"/>
</constraint>
<constraint firstItem="duA-Hi-Taa" firstAttribute="leading" secondItem="KNM-fQ-7xK" secondAttribute="leading" id="LTL-js-I15"/>
<constraint firstAttribute="bottom" secondItem="H86-pu-aKA" secondAttribute="bottom" constant="23" id="LxJ-pR-hTP"/>
<constraint firstAttribute="centerX" secondItem="duA-Hi-Taa" secondAttribute="centerX" constant="20" id="Pms-ZK-2Vc"/>
<constraint firstAttribute="centerX" secondItem="H86-pu-aKA" secondAttribute="centerX" constant="19.5" id="Px5-Ci-oTl">
<variation key="heightClass=regular-widthClass=compact" constant="0.0"/>
</constraint>
<constraint firstItem="H86-pu-aKA" firstAttribute="centerX" secondItem="duA-Hi-Taa" secondAttribute="centerX" constant="0.5" id="Spw-po-mVL"/>
<constraint firstAttribute="trailing" secondItem="duA-Hi-Taa" secondAttribute="trailing" id="TjF-lM-NEV"/>
<constraint firstItem="duA-Hi-Taa" firstAttribute="top" secondItem="KNM-fQ-7xK" secondAttribute="top" id="TrR-hW-ZWs"/>
<constraint firstAttribute="bottom" secondItem="ZYC-du-EoE" secondAttribute="bottom" constant="69" id="V7e-ov-X90"/>
<constraint firstAttribute="centerX" secondItem="ZYC-du-EoE" secondAttribute="centerX" constant="15.5" id="YgH-f2-Msy">
<variation key="heightClass=regular-widthClass=compact" constant="0.0"/>
</constraint>
<constraint firstItem="H86-pu-aKA" firstAttribute="top" secondItem="ZYC-du-EoE" secondAttribute="bottom" constant="24" id="bWy-DO-K9X"/>
<constraint firstAttribute="centerX" secondItem="ZYC-du-EoE" secondAttribute="centerX" constant="15" id="dtI-xS-8Ck">
<variation key="heightClass=regular-widthClass=compact" constant="0.0"/>
</constraint>
<constraint firstItem="ZYC-du-EoE" firstAttribute="top" secondItem="KNM-fQ-7xK" secondAttribute="top" constant="81" id="fG0-dH-YKz">
<variation key="heightClass=regular-widthClass=compact" constant="88"/>
</constraint>
<constraint firstAttribute="centerX" secondItem="ZYC-du-EoE" secondAttribute="centerX" constant="15.5" id="fz7-cQ-RTJ">
<variation key="heightClass=regular-widthClass=compact" constant="20"/>
</constraint>
<constraint firstAttribute="bottom" secondItem="H86-pu-aKA" secondAttribute="bottom" id="q7z-h0-T60"/>
<constraint firstItem="duA-Hi-Taa" firstAttribute="width" secondItem="KNM-fQ-7xK" secondAttribute="width" id="sUs-Na-g8d"/>
<constraint firstAttribute="height" constant="245" id="tQe-yp-fbw"/>
<constraint firstAttribute="centerX" secondItem="duA-Hi-Taa" secondAttribute="centerX" constant="20" id="vAZ-0p-f1H"/>
<constraint firstAttribute="centerY" secondItem="ZYC-du-EoE" secondAttribute="centerY" constant="30" id="wXU-MN-m0l"/>
<constraint firstAttribute="trailing" secondItem="H86-pu-aKA" secondAttribute="trailing" constant="178" id="wfy-ZE-69J"/>
<constraint firstAttribute="centerX" secondItem="H86-pu-aKA" secondAttribute="centerX" constant="19.5" id="xul-Wd-q4X"/>
<constraint firstAttribute="centerX" secondItem="ZYC-du-EoE" secondAttribute="centerX" constant="15.5" id="zOk-7J-5qz">
<variation key="heightClass=regular-widthClass=compact" constant="-4"/>
<constraint firstAttribute="height" constant="245" id="5bj-kr-L4s" userLabel="Height - (245) - _1.1 Registration Screen Title"/>
<constraint firstAttribute="width" secondItem="e8Y-At-xEK" secondAttribute="width" id="Dso-vy-b1P"/>
<constraint firstAttribute="centerX" secondItem="e8Y-At-xEK" secondAttribute="centerX" id="OE3-vm-S0c"/>
<constraint firstItem="e8Y-At-xEK" firstAttribute="top" secondItem="hW3-07-YNo" secondAttribute="bottom" constant="8" id="bvU-yG-1oi">
<variation key="heightClass=regular-widthClass=compact" constant="9"/>
</constraint>
<constraint firstItem="hW3-07-YNo" firstAttribute="top" secondItem="lIs-Ck-sAt" secondAttribute="top" constant="100" id="thQ-Jf-aYE"/>
<constraint firstAttribute="centerX" secondItem="hW3-07-YNo" secondAttribute="centerX" id="y9O-xU-MkB"/>
<constraint firstAttribute="bottom" secondItem="hW3-07-YNo" secondAttribute="bottom" constant="63" id="yE0-ct-KoU"/>
</constraints>
<variation key="default">
<mask key="subviews">
<exclude reference="duA-Hi-Taa"/>
<exclude reference="hW3-07-YNo"/>
<exclude reference="e8Y-At-xEK"/>
</mask>
<mask key="constraints">
<exclude reference="EfR-Eb-pTB"/>
<exclude reference="tQe-yp-fbw"/>
<exclude reference="4Cu-O5-LNU"/>
<exclude reference="82b-mx-FQe"/>
<exclude reference="8ob-4c-A08"/>
<exclude reference="BHE-71-BZ8"/>
<exclude reference="V7e-ov-X90"/>
<exclude reference="YgH-f2-Msy"/>
<exclude reference="dtI-xS-8Ck"/>
<exclude reference="fG0-dH-YKz"/>
<exclude reference="fz7-cQ-RTJ"/>
<exclude reference="wXU-MN-m0l"/>
<exclude reference="zOk-7J-5qz"/>
<exclude reference="05d-DD-a8f"/>
<exclude reference="8c8-Cy-MMy"/>
<exclude reference="E9K-Cl-JMD"/>
<exclude reference="Kl3-DM-qLh"/>
<exclude reference="LNK-Jx-0RA"/>
<exclude reference="LxJ-pR-hTP"/>
<exclude reference="Px5-Ci-oTl"/>
<exclude reference="Spw-po-mVL"/>
<exclude reference="bWy-DO-K9X"/>
<exclude reference="q7z-h0-T60"/>
<exclude reference="wfy-ZE-69J"/>
<exclude reference="xul-Wd-q4X"/>
<exclude reference="Knz-Ao-YeP"/>
<exclude reference="LTL-js-I15"/>
<exclude reference="Pms-ZK-2Vc"/>
<exclude reference="TjF-lM-NEV"/>
<exclude reference="TrR-hW-ZWs"/>
<exclude reference="sUs-Na-g8d"/>
<exclude reference="vAZ-0p-f1H"/>
<exclude reference="5bj-kr-L4s"/>
<exclude reference="yE0-ct-KoU"/>
<exclude reference="thQ-Jf-aYE"/>
<exclude reference="y9O-xU-MkB"/>
<exclude reference="OE3-vm-S0c"/>
<exclude reference="bvU-yG-1oi"/>
<exclude reference="Dso-vy-b1P"/>
</mask>
</variation>
<variation key="heightClass=regular-widthClass=compact">
<mask key="subviews">
<include reference="duA-Hi-Taa"/>
<include reference="hW3-07-YNo"/>
<include reference="e8Y-At-xEK"/>
</mask>
<mask key="constraints">
<exclude reference="EfR-Eb-pTB"/>
<include reference="tQe-yp-fbw"/>
<exclude reference="4Cu-O5-LNU"/>
<exclude reference="82b-mx-FQe"/>
<exclude reference="8ob-4c-A08"/>
<exclude reference="BHE-71-BZ8"/>
<include reference="V7e-ov-X90"/>
<exclude reference="YgH-f2-Msy"/>
<include reference="dtI-xS-8Ck"/>
<exclude reference="fG0-dH-YKz"/>
<exclude reference="fz7-cQ-RTJ"/>
<exclude reference="wXU-MN-m0l"/>
<exclude reference="zOk-7J-5qz"/>
<exclude reference="05d-DD-a8f"/>
<exclude reference="8c8-Cy-MMy"/>
<exclude reference="E9K-Cl-JMD"/>
<include reference="Kl3-DM-qLh"/>
<include reference="LNK-Jx-0RA"/>
<exclude reference="LxJ-pR-hTP"/>
<exclude reference="Px5-Ci-oTl"/>
<exclude reference="Spw-po-mVL"/>
<exclude reference="bWy-DO-K9X"/>
<exclude reference="q7z-h0-T60"/>
<exclude reference="wfy-ZE-69J"/>
<exclude reference="xul-Wd-q4X"/>
<exclude reference="Knz-Ao-YeP"/>
<include reference="LTL-js-I15"/>
<exclude reference="Pms-ZK-2Vc"/>
<include reference="TjF-lM-NEV"/>
<include reference="TrR-hW-ZWs"/>
<exclude reference="sUs-Na-g8d"/>
<exclude reference="vAZ-0p-f1H"/>
<include reference="5bj-kr-L4s"/>
<include reference="yE0-ct-KoU"/>
<exclude reference="thQ-Jf-aYE"/>
<include reference="y9O-xU-MkB"/>
<include reference="OE3-vm-S0c"/>
<include reference="bvU-yG-1oi"/>
<include reference="Dso-vy-b1P"/>
</mask>
</variation>
</view>
@ -3862,20 +3642,19 @@ A0 09 9A FF A8 8A 09 99</string>
<constraints>
<constraint firstItem="XXt-2F-6KC" firstAttribute="leading" secondItem="Zgb-Uj-73M" secondAttribute="leadingMargin" constant="-16" id="186-I2-PpT"/>
<constraint firstAttribute="trailingMargin" secondItem="95o-ce-XGu" secondAttribute="trailing" constant="-16" id="1PA-ZM-HLt"/>
<constraint firstAttribute="width" secondItem="lIs-Ck-sAt" secondAttribute="width" id="3UN-Zb-j14"/>
<constraint firstItem="95o-ce-XGu" firstAttribute="top" secondItem="OuY-yn-ZQb" secondAttribute="bottom" constant="310" id="4Gv-TO-4Gh"/>
<constraint firstAttribute="centerX" secondItem="UWb-Di-S2f" secondAttribute="centerX" id="6Vf-Ko-FBr"/>
<constraint firstItem="95o-ce-XGu" firstAttribute="bottom" secondItem="XXt-2F-6KC" secondAttribute="bottom" constant="97" id="7aG-Eg-thY"/>
<constraint firstAttribute="centerX" secondItem="KNM-fQ-7xK" secondAttribute="centerX" constant="-20" id="7l8-je-9Ta"/>
<constraint firstItem="XXt-2F-6KC" firstAttribute="top" secondItem="KNM-fQ-7xK" secondAttribute="top" constant="280" id="FZy-mz-Rhd"/>
<constraint firstItem="XXt-2F-6KC" firstAttribute="top" secondItem="KNM-fQ-7xK" secondAttribute="top" constant="280" id="FhM-Ki-g2p"/>
<constraint firstAttribute="centerX" secondItem="lIs-Ck-sAt" secondAttribute="centerX" id="8Vt-pz-DHH"/>
<constraint firstItem="XXt-2F-6KC" firstAttribute="top" secondItem="lIs-Ck-sAt" secondAttribute="bottom" constant="45" id="DLn-mq-TQC"/>
<constraint firstItem="95o-ce-XGu" firstAttribute="top" secondItem="XXt-2F-6KC" secondAttribute="bottom" constant="8" id="J6B-PT-YCI"/>
<constraint firstItem="MHI-1c-yZH" firstAttribute="top" secondItem="65n-ug-kaa" secondAttribute="bottom" constant="55" id="JCm-AV-mvA"/>
<constraint firstItem="UWb-Di-S2f" firstAttribute="width" secondItem="Zgb-Uj-73M" secondAttribute="width" id="JNa-NP-PKr"/>
<constraint firstItem="65n-ug-kaa" firstAttribute="width" secondItem="Zgb-Uj-73M" secondAttribute="width" id="JXl-Js-EdT"/>
<constraint firstItem="XXt-2F-6KC" firstAttribute="bottom" secondItem="KNM-fQ-7xK" secondAttribute="bottom" constant="78" id="KYO-KU-Q08"/>
<constraint firstItem="95o-ce-XGu" firstAttribute="top" secondItem="UWb-Di-S2f" secondAttribute="top" constant="-47" id="Lop-pf-u0E"/>
<constraint firstItem="95o-ce-XGu" firstAttribute="top" secondItem="UWb-Di-S2f" secondAttribute="top" constant="-47" id="Nge-LO-xeT"/>
<constraint firstItem="95o-ce-XGu" firstAttribute="centerX" secondItem="XXt-2F-6KC" secondAttribute="centerX" id="OaL-Il-ubW"/>
<constraint firstItem="KNM-fQ-7xK" firstAttribute="top" secondItem="OuY-yn-ZQb" secondAttribute="bottom" constant="-20" id="PTN-sC-WU8"/>
<constraint firstItem="95o-ce-XGu" firstAttribute="leading" secondItem="Zgb-Uj-73M" secondAttribute="leadingMargin" constant="-16" id="SHP-xM-fNk"/>
<constraint firstItem="95o-ce-XGu" firstAttribute="centerX" secondItem="UWb-Di-S2f" secondAttribute="centerX" id="T3s-mg-RXX"/>
<constraint firstItem="XXt-2F-6KC" firstAttribute="width" secondItem="Zgb-Uj-73M" secondAttribute="width" id="TCD-DU-Svm"/>
@ -3887,20 +3666,14 @@ A0 09 9A FF A8 8A 09 99</string>
<constraint firstItem="95o-ce-XGu" firstAttribute="top" secondItem="UWb-Di-S2f" secondAttribute="top" constant="-47" id="Y8p-VG-6gD"/>
<constraint firstAttribute="trailingMargin" secondItem="XXt-2F-6KC" secondAttribute="trailing" constant="-16" id="Yqu-ew-0Ox"/>
<constraint firstItem="95o-ce-XGu" firstAttribute="top" secondItem="XXt-2F-6KC" secondAttribute="top" constant="97" id="bQE-af-NJN"/>
<constraint firstItem="UWb-Di-S2f" firstAttribute="top" secondItem="95o-ce-XGu" secondAttribute="bottom" constant="3" id="dJ1-z6-uc7"/>
<constraint firstItem="95o-ce-XGu" firstAttribute="top" secondItem="XXt-2F-6KC" secondAttribute="top" constant="50" id="dLU-3M-QCt"/>
<constraint firstItem="XXt-2F-6KC" firstAttribute="top" secondItem="KNM-fQ-7xK" secondAttribute="top" constant="283" id="dYk-TR-fCS">
<variation key="heightClass=regular-widthClass=compact" constant="280"/>
</constraint>
<constraint firstItem="95o-ce-XGu" firstAttribute="width" secondItem="UWb-Di-S2f" secondAttribute="width" id="dkp-LK-nj4"/>
<constraint firstAttribute="centerX" secondItem="J5A-hy-9hb" secondAttribute="centerX" id="dqK-wN-Qqd">
<variation key="heightClass=regular-widthClass=compact" constant="1"/>
</constraint>
<constraint firstItem="95o-ce-XGu" firstAttribute="top" secondItem="XXt-2F-6KC" secondAttribute="top" constant="98" id="e4f-s1-zL4"/>
<constraint firstAttribute="trailingMargin" secondItem="UWb-Di-S2f" secondAttribute="trailing" constant="-16" id="e8e-kK-ZKM"/>
<constraint firstAttribute="trailingMargin" secondItem="KNM-fQ-7xK" secondAttribute="trailing" constant="-56" id="eta-rR-K3H">
<variation key="heightClass=regular-widthClass=compact" constant="-30"/>
</constraint>
<constraint firstItem="XXt-2F-6KC" firstAttribute="top" secondItem="KNM-fQ-7xK" secondAttribute="top" constant="280" id="gMe-2T-cNa"/>
<constraint firstItem="UWb-Di-S2f" firstAttribute="leading" secondItem="Zgb-Uj-73M" secondAttribute="leadingMargin" constant="-16" id="gln-Vt-qVB"/>
<constraint firstAttribute="centerX" secondItem="XXt-2F-6KC" secondAttribute="centerX" id="j0t-My-vWM"/>
<constraint firstItem="95o-ce-XGu" firstAttribute="top" secondItem="XXt-2F-6KC" secondAttribute="top" constant="97" id="jWt-mt-lMx"/>
@ -3908,58 +3681,36 @@ A0 09 9A FF A8 8A 09 99</string>
<constraint firstItem="UWb-Di-S2f" firstAttribute="top" secondItem="OuY-yn-ZQb" secondAttribute="bottom" constant="374" id="oFo-la-7kN">
<variation key="heightClass=regular-widthClass=compact" constant="360"/>
</constraint>
<constraint firstItem="lIs-Ck-sAt" firstAttribute="top" secondItem="OuY-yn-ZQb" secondAttribute="bottom" constant="-20" id="ppb-ts-aZV"/>
<constraint firstItem="95o-ce-XGu" firstAttribute="top" secondItem="XXt-2F-6KC" secondAttribute="top" constant="97" id="qZd-ge-eYB"/>
<constraint firstItem="XXt-2F-6KC" firstAttribute="top" secondItem="OuY-yn-ZQb" secondAttribute="bottom" constant="270" id="qbD-ea-npC"/>
<constraint firstItem="95o-ce-XGu" firstAttribute="top" secondItem="XXt-2F-6KC" secondAttribute="top" constant="98" id="rJk-1n-okh"/>
<constraint firstItem="95o-ce-XGu" firstAttribute="top" secondItem="UWb-Di-S2f" secondAttribute="top" constant="-54" id="sQW-xX-kB4"/>
<constraint firstAttribute="width" secondItem="KNM-fQ-7xK" secondAttribute="width" id="swA-oZ-fQP"/>
<constraint firstItem="95o-ce-XGu" firstAttribute="top" secondItem="XXt-2F-6KC" secondAttribute="top" constant="97" id="tIc-Lo-cxr"/>
<constraint firstItem="XXt-2F-6KC" firstAttribute="top" secondItem="KNM-fQ-7xK" secondAttribute="top" constant="290" id="uHB-vu-kfy"/>
<constraint firstItem="95o-ce-XGu" firstAttribute="width" secondItem="Zgb-Uj-73M" secondAttribute="width" id="ulI-zy-iTI"/>
<constraint firstItem="MHI-1c-yZH" firstAttribute="top" secondItem="J5A-hy-9hb" secondAttribute="bottom" id="x9N-aq-ABK"/>
<constraint firstItem="KNM-fQ-7xK" firstAttribute="leading" secondItem="Zgb-Uj-73M" secondAttribute="leadingMargin" constant="-16" id="xvH-Dv-g2z">
<variation key="heightClass=regular-widthClass=compact" constant="-30"/>
</constraint>
<constraint firstItem="J5A-hy-9hb" firstAttribute="width" secondItem="Zgb-Uj-73M" secondAttribute="width" id="zDg-Za-jzf"/>
</constraints>
<variation key="default">
<mask key="subviews">
<exclude reference="KNM-fQ-7xK"/>
<exclude reference="lIs-Ck-sAt"/>
<exclude reference="95o-ce-XGu"/>
<exclude reference="UWb-Di-S2f"/>
</mask>
<mask key="constraints">
<exclude reference="3UN-Zb-j14"/>
<exclude reference="8Vt-pz-DHH"/>
<exclude reference="ppb-ts-aZV"/>
<exclude reference="186-I2-PpT"/>
<exclude reference="FZy-mz-Rhd"/>
<exclude reference="FhM-Ki-g2p"/>
<exclude reference="KYO-KU-Q08"/>
<exclude reference="DLn-mq-TQC"/>
<exclude reference="TCD-DU-Svm"/>
<exclude reference="Yqu-ew-0Ox"/>
<exclude reference="dYk-TR-fCS"/>
<exclude reference="gMe-2T-cNa"/>
<exclude reference="j0t-My-vWM"/>
<exclude reference="qbD-ea-npC"/>
<exclude reference="uHB-vu-kfy"/>
<exclude reference="JCm-AV-mvA"/>
<exclude reference="x9N-aq-ABK"/>
<exclude reference="JXl-Js-EdT"/>
<exclude reference="V1z-SJ-QA5"/>
<exclude reference="dqK-wN-Qqd"/>
<exclude reference="zDg-Za-jzf"/>
<exclude reference="7l8-je-9Ta"/>
<exclude reference="PTN-sC-WU8"/>
<exclude reference="eta-rR-K3H"/>
<exclude reference="swA-oZ-fQP"/>
<exclude reference="xvH-Dv-g2z"/>
<exclude reference="6Vf-Ko-FBr"/>
<exclude reference="JNa-NP-PKr"/>
<exclude reference="Weg-Fb-C0D"/>
<exclude reference="e8e-kK-ZKM"/>
<exclude reference="gln-Vt-qVB"/>
<exclude reference="oFo-la-7kN"/>
<exclude reference="1PA-ZM-HLt"/>
<exclude reference="4Gv-TO-4Gh"/>
<exclude reference="7aG-Eg-thY"/>
<exclude reference="J6B-PT-YCI"/>
<exclude reference="Lop-pf-u0E"/>
<exclude reference="Nge-LO-xeT"/>
<exclude reference="OaL-Il-ubW"/>
@ -3978,46 +3729,41 @@ A0 09 9A FF A8 8A 09 99</string>
<exclude reference="sQW-xX-kB4"/>
<exclude reference="tIc-Lo-cxr"/>
<exclude reference="ulI-zy-iTI"/>
<exclude reference="6Vf-Ko-FBr"/>
<exclude reference="JNa-NP-PKr"/>
<exclude reference="Weg-Fb-C0D"/>
<exclude reference="dJ1-z6-uc7"/>
<exclude reference="e8e-kK-ZKM"/>
<exclude reference="gln-Vt-qVB"/>
<exclude reference="oFo-la-7kN"/>
<exclude reference="JXl-Js-EdT"/>
<exclude reference="V1z-SJ-QA5"/>
<exclude reference="dqK-wN-Qqd"/>
<exclude reference="zDg-Za-jzf"/>
<exclude reference="JCm-AV-mvA"/>
<exclude reference="x9N-aq-ABK"/>
</mask>
</variation>
<variation key="heightClass=regular-widthClass=compact">
<mask key="subviews">
<include reference="KNM-fQ-7xK"/>
<include reference="lIs-Ck-sAt"/>
<include reference="95o-ce-XGu"/>
<include reference="UWb-Di-S2f"/>
</mask>
<mask key="constraints">
<include reference="3UN-Zb-j14"/>
<include reference="8Vt-pz-DHH"/>
<include reference="ppb-ts-aZV"/>
<include reference="186-I2-PpT"/>
<exclude reference="FZy-mz-Rhd"/>
<exclude reference="FhM-Ki-g2p"/>
<exclude reference="KYO-KU-Q08"/>
<include reference="DLn-mq-TQC"/>
<exclude reference="TCD-DU-Svm"/>
<include reference="Yqu-ew-0Ox"/>
<exclude reference="dYk-TR-fCS"/>
<exclude reference="gMe-2T-cNa"/>
<exclude reference="j0t-My-vWM"/>
<include reference="qbD-ea-npC"/>
<exclude reference="uHB-vu-kfy"/>
<include reference="JCm-AV-mvA"/>
<include reference="x9N-aq-ABK"/>
<include reference="JXl-Js-EdT"/>
<include reference="V1z-SJ-QA5"/>
<include reference="dqK-wN-Qqd"/>
<include reference="zDg-Za-jzf"/>
<exclude reference="7l8-je-9Ta"/>
<include reference="PTN-sC-WU8"/>
<include reference="eta-rR-K3H"/>
<exclude reference="swA-oZ-fQP"/>
<include reference="xvH-Dv-g2z"/>
<exclude reference="6Vf-Ko-FBr"/>
<exclude reference="JNa-NP-PKr"/>
<exclude reference="Weg-Fb-C0D"/>
<include reference="e8e-kK-ZKM"/>
<include reference="gln-Vt-qVB"/>
<include reference="oFo-la-7kN"/>
<exclude reference="qbD-ea-npC"/>
<include reference="1PA-ZM-HLt"/>
<include reference="4Gv-TO-4Gh"/>
<exclude reference="4Gv-TO-4Gh"/>
<exclude reference="7aG-Eg-thY"/>
<include reference="J6B-PT-YCI"/>
<exclude reference="Lop-pf-u0E"/>
<exclude reference="Nge-LO-xeT"/>
<exclude reference="OaL-Il-ubW"/>
@ -4036,6 +3782,19 @@ A0 09 9A FF A8 8A 09 99</string>
<exclude reference="sQW-xX-kB4"/>
<exclude reference="tIc-Lo-cxr"/>
<exclude reference="ulI-zy-iTI"/>
<exclude reference="6Vf-Ko-FBr"/>
<exclude reference="JNa-NP-PKr"/>
<exclude reference="Weg-Fb-C0D"/>
<include reference="dJ1-z6-uc7"/>
<include reference="e8e-kK-ZKM"/>
<include reference="gln-Vt-qVB"/>
<exclude reference="oFo-la-7kN"/>
<include reference="JXl-Js-EdT"/>
<include reference="V1z-SJ-QA5"/>
<include reference="dqK-wN-Qqd"/>
<include reference="zDg-Za-jzf"/>
<include reference="JCm-AV-mvA"/>
<include reference="x9N-aq-ABK"/>
</mask>
</variation>
</view>
@ -4044,11 +3803,13 @@ A0 09 9A FF A8 8A 09 99</string>
<connections>
<outlet property="challengeButton" destination="5Nx-nz-ht7" id="JO8-b7-GHV"/>
<outlet property="challengeTextField" destination="yK6-ad-ihc" id="cnh-li-Z6O"/>
<outlet property="headerConstraint" destination="5bj-kr-L4s" id="mCo-eL-dVs"/>
<outlet property="phoneNumberEntered" destination="wYz-da-3ZB" id="3Ah-VX-CXn"/>
<outlet property="requestCallSpinner" destination="lFE-KR-9iN" id="cAe-kr-tgj"/>
<outlet property="requestCodeAgainSpinner" destination="utk-2S-Qc7" id="9W8-ZF-1fI"/>
<outlet property="sendCodeViaSMSAgainButton" destination="9dl-sl-tZN" id="P3C-jR-K09"/>
<outlet property="sendCodeViaVoiceButton" destination="2I5-tm-rMi" id="h8C-UP-pj7"/>
<outlet property="signalLogo" destination="hW3-07-YNo" id="BLn-4U-c3P"/>
<outlet property="submitCodeSpinner" destination="vmS-8s-cvA" id="6Yh-84-o0p"/>
</connections>
</viewController>
@ -5594,9 +5355,6 @@ A0 09 9A FF A8 8A 09 99</string>
<fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
<color key="textColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
<variation key="heightClass=regular-widthClass=compact" misplaced="YES">
<rect key="frame" x="10" y="274" width="94" height="20.5"/>
</variation>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>

@ -12,6 +12,8 @@
@interface CodeVerificationViewController : UIViewController
@property(nonatomic, strong) IBOutlet UIImageView* signalLogo;
// Where the user enters the verification code they wish to document
@property(nonatomic, strong) IBOutlet UITextField* challengeTextField;
@ -26,6 +28,7 @@
@property(nonatomic, strong) IBOutlet UIActivityIndicatorView* requestCodeAgainSpinner;
@property(nonatomic, strong) IBOutlet UIActivityIndicatorView* requestCallSpinner;
@property(nonatomic) IBOutlet NSLayoutConstraint *headerConstraint;
// Displays phone number entered in previous step. There is a UI option (segue) which allows the user to go back and edit this.
@property (nonatomic, strong) IBOutlet UILabel* phoneNumberEntered;

@ -32,6 +32,7 @@
[super viewWillAppear:animated];
[self enableServerActions:YES];
[_phoneNumberEntered setText:_formattedPhoneNumber];
[self adjustScreenSizes];
}
- (void)didReceiveMemoryWarning {
@ -194,11 +195,24 @@
- (void)initializeKeyboardHandlers{
UITapGestureRecognizer *outsideTabRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(dismissKeyboardFromAppropriateSubView)];
[self.view addGestureRecognizer:outsideTabRecognizer];
}
- (void)dismissKeyboardFromAppropriateSubView {
[self.view endEditing:NO];
}
- (void)adjustScreenSizes {
CGFloat screenHeight = [UIScreen mainScreen].bounds.size.height;
CGFloat blueHeaderHeight;
if (screenHeight < 568) {
self.signalLogo.hidden = YES;
blueHeaderHeight = screenHeight - 400;
} else {
blueHeaderHeight = screenHeight - 410;
}
_headerConstraint.constant = blueHeaderHeight;
}
@end

@ -21,9 +21,12 @@
//Button
@property(nonatomic, strong) IBOutlet UIButton* sendCodeButton;
@property(nonatomic, strong) IBOutlet UIButton* cancelReregButton;
@property (nonatomic, strong) IBOutlet UIActivityIndicatorView* spinnerView;
@property (nonatomic) IBOutlet UIImageView *signalLogo;
@property (nonatomic) IBOutlet UIView *registrationHeader;
@property (nonatomic) IBOutlet NSLayoutConstraint *headerHeightConstraint;
- (IBAction)unwindToCountryCodeWasSelected:(UIStoryboardSegue *)segue;
- (IBAction)unwindToCountryCodeSelectionCancelled:(UIStoryboardSegue *)segue;

@ -27,9 +27,6 @@
#import <Pastelog.h>
#define kKeyboardPadding 40.0f
#define kDoNotScroll 667.0f
static NSString *const kCodeSentSegue = @"codeSent";
@interface RegistrationViewController ()
@ -42,13 +39,15 @@ static NSString *const kCodeSentSegue = @"codeSent";
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
_phoneNumberTextField.delegate = self;
[self populateDefaultCountryNameAndCode];
[self initializeKeyboardHandlers];
[[Environment getCurrent] setSignUpFlowNavigationController:self.navigationController];
_cancelReregButton.hidden = ([TSAccountManager registeredNumber]==nil);
}
-(void)viewWillAppear:(BOOL)animated{
[self adjustScreenSizes];
}
-(void)viewDidAppear:(BOOL)animated
@ -57,6 +56,7 @@ static NSString *const kCodeSentSegue = @"codeSent";
[_sendCodeButton setEnabled:YES];
[_spinnerView stopAnimating];
[_phoneNumberTextField becomeFirstResponder];
}
- (void)didReceiveMemoryWarning {
@ -129,54 +129,12 @@ static NSString *const kCodeSentSegue = @"codeSent";
- (void)initializeKeyboardHandlers{
UITapGestureRecognizer *outsideTabRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(dismissKeyboardFromAppropriateSubView)];
[self.view addGestureRecognizer:outsideTabRecognizer];
[self observeKeyboardNotifications];
}
-(void) dismissKeyboardFromAppropriateSubView {
[self.view endEditing:NO];
}
- (void)observeKeyboardNotifications {
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(keyboardWillShow:)
name:UIKeyboardWillShowNotification
object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(keyboardWillHide:)
name:UIKeyboardWillHideNotification
object:nil];
}
- (void)keyboardWillShow:(NSNotification *)notification {
if(self.view.frame.size.height<kDoNotScroll) {
double duration = [[notification userInfo][UIKeyboardAnimationDurationUserInfoKey] doubleValue];
[UIView animateWithDuration:duration animations:^{
_sendCodeButtonOriginalY = _sendCodeButton.frame.origin.y+_sendCodeButton.frame.size.height;
self.view.frame = CGRectMake(CGRectGetMinX(self.view.frame),
CGRectGetMinY(self.view.frame)-_sendCodeButtonOriginalY-kKeyboardPadding,
CGRectGetWidth(self.view.frame),
CGRectGetHeight(self.view.frame));
}];
}
}
- (void)keyboardWillHide:(NSNotification *)notification {
if(self.view.frame.size.height<kDoNotScroll) {
double duration = [[notification userInfo][UIKeyboardAnimationDurationUserInfoKey] doubleValue];
[UIView animateWithDuration:duration animations:^{
self.view.frame = CGRectMake(CGRectGetMinX(self.view.frame),
CGRectGetMinY(self.view.frame)+_sendCodeButtonOriginalY+kKeyboardPadding, CGRectGetWidth(self.view.frame),
CGRectGetHeight(self.view.frame));
}];
}
}
#pragma mark - UITextFieldDelegate
-(BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string {
@ -221,8 +179,7 @@ static NSString *const kCodeSentSegue = @"codeSent";
#pragma mark - Unwind segue
- (IBAction)unwindToChangeNumber:(UIStoryboardSegue*)sender
{
- (IBAction)unwindToChangeNumber:(UIStoryboardSegue*)sender {
}
@ -232,8 +189,6 @@ static NSString *const kCodeSentSegue = @"codeSent";
- (IBAction)unwindToCountryCodeWasSelected:(UIStoryboardSegue *)segue {
CountryCodeViewController *vc = [segue sourceViewController];
//NOTE: It seems [PhoneNumberUtil countryNameFromCountryCode:] doesn't return the country at all. Will investigate.
[_countryCodeButton setTitle:vc.callingCodeSelected forState:UIControlStateNormal];
[_countryNameButton setTitle:vc.countryNameSelected forState:UIControlStateNormal];
@ -247,15 +202,29 @@ static NSString *const kCodeSentSegue = @"codeSent";
}
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
if([[segue identifier] isEqualToString:kCodeSentSegue]) {
CodeVerificationViewController* vc = [segue destinationViewController];
vc.formattedPhoneNumber = [PhoneNumber bestEffortFormatPartialUserSpecifiedTextToLookLikeAPhoneNumber:_phoneNumberTextField.text withSpecifiedCountryCodeString:_countryCodeButton.titleLabel.text];
vc.formattedPhoneNumber = [PhoneNumber bestEffortFormatPartialUserSpecifiedTextToLookLikeAPhoneNumber:_phoneNumberTextField.text withSpecifiedCountryCodeString:_countryCodeButton.titleLabel.text];
}
}
#pragma mark iPhone 4S - Specific Code
- (void)adjustScreenSizes {
CGFloat screenHeight = [UIScreen mainScreen].bounds.size.height;
CGFloat blueHeaderHeight;
if (screenHeight < 568) {
self.signalLogo.hidden = YES;
blueHeaderHeight = screenHeight - 408;
} else {
blueHeaderHeight = screenHeight - 420;
}
_headerHeightConstraint.constant = blueHeaderHeight;
}
@end

Loading…
Cancel
Save