IdcardCaptor.storyboard 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1212" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
  9. <capability name="Alignment constraints with different attributes" minToolsVersion="5.1"/>
  10. <capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
  11. <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
  12. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  13. </dependencies>
  14. <scenes>
  15. <!--Oliveapp Idcard Captor View Controller-->
  16. <scene sceneID="It2-Rc-YJa">
  17. <objects>
  18. <viewController storyboardIdentifier="idcardCaptorStoryboard" id="Rcp-Nb-60S" customClass="OliveappIdcardCaptorViewController" sceneMemberID="viewController">
  19. <layoutGuides>
  20. <viewControllerLayoutGuide type="top" id="Pfv-YR-zAJ"/>
  21. <viewControllerLayoutGuide type="bottom" id="ks6-fR-dCX"/>
  22. </layoutGuides>
  23. <view key="view" contentMode="scaleToFill" id="Zzk-fs-c6D">
  24. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  25. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  26. <subviews>
  27. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Iyg-PB-Ecj">
  28. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  29. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  30. </view>
  31. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="oliveapp_face_black_shadow.png" translatesAutoresizingMaskIntoConstraints="NO" id="cun-fw-mL8" userLabel="upView">
  32. <rect key="frame" x="0.0" y="20" width="375" height="80"/>
  33. </imageView>
  34. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="oliveapp_face_black_shadow.png" translatesAutoresizingMaskIntoConstraints="NO" id="Khh-bq-HD0" userLabel="buttomView">
  35. <rect key="frame" x="0.0" y="567" width="375" height="100"/>
  36. </imageView>
  37. <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="oliveapp_idcard_thin.png" translatesAutoresizingMaskIntoConstraints="NO" id="xTw-dR-IoO">
  38. <rect key="frame" x="40" y="100" width="295" height="467"/>
  39. <constraints>
  40. <constraint firstAttribute="width" secondItem="xTw-dR-IoO" secondAttribute="height" multiplier="12:19" id="aB9-NX-RXp"/>
  41. </constraints>
  42. <variation key="heightClass=regular-widthClass=compact">
  43. <mask key="constraints">
  44. <include reference="aB9-NX-RXp"/>
  45. </mask>
  46. </variation>
  47. </imageView>
  48. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="oliveapp_face_black_shadow.png" translatesAutoresizingMaskIntoConstraints="NO" id="nSU-pt-t98" userLabel="leftView">
  49. <rect key="frame" x="0.0" y="100" width="40" height="467"/>
  50. <constraints>
  51. <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="40" id="V7v-bD-PLW"/>
  52. </constraints>
  53. <variation key="default">
  54. <mask key="constraints">
  55. <exclude reference="V7v-bD-PLW"/>
  56. </mask>
  57. </variation>
  58. <variation key="heightClass=regular-widthClass=compact">
  59. <mask key="constraints">
  60. <include reference="V7v-bD-PLW"/>
  61. </mask>
  62. </variation>
  63. </imageView>
  64. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="oliveapp_face_black_shadow.png" translatesAutoresizingMaskIntoConstraints="NO" id="3T8-ws-eCG" userLabel="rightView">
  65. <rect key="frame" x="335" y="100" width="40" height="467"/>
  66. <constraints>
  67. <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="40" id="1HA-QN-qlH"/>
  68. </constraints>
  69. <variation key="default">
  70. <mask key="constraints">
  71. <exclude reference="1HA-QN-qlH"/>
  72. </mask>
  73. </variation>
  74. <variation key="heightClass=regular-widthClass=compact">
  75. <mask key="constraints">
  76. <include reference="1HA-QN-qlH"/>
  77. </mask>
  78. </variation>
  79. </imageView>
  80. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kCe-P5-lLj">
  81. <rect key="frame" x="24" y="617" width="31" height="30"/>
  82. <state key="normal" title="取消">
  83. <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  84. </state>
  85. <connections>
  86. <action selector="cancelButton:" destination="Rcp-Nb-60S" eventType="touchUpInside" id="J3Q-0k-CZe"/>
  87. </connections>
  88. </button>
  89. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="characterWrap" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9tK-Go-4fc">
  90. <rect key="frame" x="353" y="0.0" width="0.0" height="667"/>
  91. <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="19"/>
  92. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  93. <nil key="highlightedColor"/>
  94. </label>
  95. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="UW6-E5-x6g">
  96. <rect key="frame" x="163" y="597" width="50" height="50"/>
  97. <constraints>
  98. <constraint firstAttribute="width" constant="50" id="3nV-Cf-t8w"/>
  99. <constraint firstAttribute="width" secondItem="UW6-E5-x6g" secondAttribute="height" multiplier="1:1" id="lHi-gT-btX"/>
  100. </constraints>
  101. <state key="normal" image="oliveapp_take_photo_button.png"/>
  102. <connections>
  103. <action selector="captureImage:" destination="Rcp-Nb-60S" eventType="touchUpInside" id="uoe-xZ-H3W"/>
  104. </connections>
  105. </button>
  106. </subviews>
  107. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  108. <constraints>
  109. <constraint firstAttribute="trailing" secondItem="9tK-Go-4fc" secondAttribute="centerX" constant="22" id="1Hy-lh-2eD"/>
  110. <constraint firstItem="3T8-ws-eCG" firstAttribute="top" secondItem="cun-fw-mL8" secondAttribute="bottom" id="1jB-Hw-ioM"/>
  111. <constraint firstItem="ks6-fR-dCX" firstAttribute="top" secondItem="UW6-E5-x6g" secondAttribute="bottom" constant="20" id="2T7-Lj-sAa"/>
  112. <constraint firstItem="Khh-bq-HD0" firstAttribute="centerX" secondItem="Zzk-fs-c6D" secondAttribute="centerX" id="2ic-tj-rXL"/>
  113. <constraint firstItem="9tK-Go-4fc" firstAttribute="centerY" secondItem="Zzk-fs-c6D" secondAttribute="centerY" id="3nT-kq-bPH"/>
  114. <constraint firstItem="ks6-fR-dCX" firstAttribute="top" secondItem="kCe-P5-lLj" secondAttribute="bottom" constant="20" id="5PU-Gx-kR5"/>
  115. <constraint firstItem="UW6-E5-x6g" firstAttribute="centerX" secondItem="Zzk-fs-c6D" secondAttribute="centerX" id="6hb-Wg-ygd"/>
  116. <constraint firstItem="nSU-pt-t98" firstAttribute="top" secondItem="cun-fw-mL8" secondAttribute="bottom" id="8do-Gh-8Xg"/>
  117. <constraint firstItem="xTw-dR-IoO" firstAttribute="leading" secondItem="nSU-pt-t98" secondAttribute="trailing" id="9gw-gR-QZO"/>
  118. <constraint firstItem="xTw-dR-IoO" firstAttribute="centerY" secondItem="Zzk-fs-c6D" secondAttribute="centerY" id="E3X-j3-gso"/>
  119. <constraint firstItem="cun-fw-mL8" firstAttribute="centerX" secondItem="Zzk-fs-c6D" secondAttribute="centerX" id="F5r-HL-znW"/>
  120. <constraint firstItem="Iyg-PB-Ecj" firstAttribute="centerX" secondItem="Zzk-fs-c6D" secondAttribute="centerX" id="JmO-ga-XNU"/>
  121. <constraint firstItem="nSU-pt-t98" firstAttribute="leading" secondItem="Zzk-fs-c6D" secondAttribute="leading" id="Jwf-AL-f2X"/>
  122. <constraint firstItem="Khh-bq-HD0" firstAttribute="width" secondItem="Zzk-fs-c6D" secondAttribute="width" id="KES-Ag-vxY"/>
  123. <constraint firstItem="9tK-Go-4fc" firstAttribute="height" secondItem="Zzk-fs-c6D" secondAttribute="height" id="Tl2-s9-n1U"/>
  124. <constraint firstItem="kCe-P5-lLj" firstAttribute="leading" secondItem="Zzk-fs-c6D" secondAttribute="leadingMargin" constant="8" id="Ufg-FI-eti"/>
  125. <constraint firstItem="Khh-bq-HD0" firstAttribute="top" secondItem="nSU-pt-t98" secondAttribute="bottom" id="V3s-pF-yH0"/>
  126. <constraint firstItem="Iyg-PB-Ecj" firstAttribute="width" secondItem="Zzk-fs-c6D" secondAttribute="width" id="V8R-R3-UxD"/>
  127. <constraint firstItem="Khh-bq-HD0" firstAttribute="top" secondItem="xTw-dR-IoO" secondAttribute="bottom" id="WSH-e8-tTB"/>
  128. <constraint firstItem="xTw-dR-IoO" firstAttribute="centerX" secondItem="Zzk-fs-c6D" secondAttribute="centerX" id="Xhu-nl-OAO"/>
  129. <constraint firstItem="Iyg-PB-Ecj" firstAttribute="centerY" secondItem="Zzk-fs-c6D" secondAttribute="centerY" id="YZn-a1-nRg"/>
  130. <constraint firstItem="3T8-ws-eCG" firstAttribute="leading" secondItem="xTw-dR-IoO" secondAttribute="trailing" id="Zg0-Xn-N5E"/>
  131. <constraint firstItem="Iyg-PB-Ecj" firstAttribute="height" secondItem="Zzk-fs-c6D" secondAttribute="height" id="bCq-QI-ocB"/>
  132. <constraint firstItem="cun-fw-mL8" firstAttribute="width" secondItem="Zzk-fs-c6D" secondAttribute="width" id="bQk-k5-ZBK"/>
  133. <constraint firstItem="cun-fw-mL8" firstAttribute="top" secondItem="Pfv-YR-zAJ" secondAttribute="bottom" id="fah-0q-UmN"/>
  134. <constraint firstAttribute="trailing" secondItem="3T8-ws-eCG" secondAttribute="trailing" id="pdQ-JN-j2N"/>
  135. <constraint firstItem="ks6-fR-dCX" firstAttribute="top" secondItem="Khh-bq-HD0" secondAttribute="bottom" id="s8N-1O-wfy"/>
  136. <constraint firstItem="xTw-dR-IoO" firstAttribute="top" secondItem="cun-fw-mL8" secondAttribute="bottom" id="yV6-Q9-HvS"/>
  137. <constraint firstItem="Khh-bq-HD0" firstAttribute="top" secondItem="3T8-ws-eCG" secondAttribute="bottom" id="yfa-Bv-dI6"/>
  138. </constraints>
  139. <variation key="heightClass=regular-widthClass=compact">
  140. <mask key="subviews">
  141. <include reference="Iyg-PB-Ecj"/>
  142. <include reference="cun-fw-mL8"/>
  143. <include reference="Khh-bq-HD0"/>
  144. <include reference="nSU-pt-t98"/>
  145. <include reference="3T8-ws-eCG"/>
  146. <include reference="kCe-P5-lLj"/>
  147. <include reference="9tK-Go-4fc"/>
  148. </mask>
  149. <mask key="constraints">
  150. <include reference="JmO-ga-XNU"/>
  151. <include reference="V8R-R3-UxD"/>
  152. <include reference="YZn-a1-nRg"/>
  153. <include reference="bCq-QI-ocB"/>
  154. <include reference="F5r-HL-znW"/>
  155. <include reference="bQk-k5-ZBK"/>
  156. <include reference="fah-0q-UmN"/>
  157. <include reference="8do-Gh-8Xg"/>
  158. <include reference="Jwf-AL-f2X"/>
  159. <include reference="9gw-gR-QZO"/>
  160. <include reference="E3X-j3-gso"/>
  161. <include reference="Xhu-nl-OAO"/>
  162. <include reference="yV6-Q9-HvS"/>
  163. <include reference="1jB-Hw-ioM"/>
  164. <include reference="Zg0-Xn-N5E"/>
  165. <include reference="pdQ-JN-j2N"/>
  166. <include reference="1Hy-lh-2eD"/>
  167. <include reference="3nT-kq-bPH"/>
  168. <include reference="Tl2-s9-n1U"/>
  169. <include reference="2ic-tj-rXL"/>
  170. <include reference="KES-Ag-vxY"/>
  171. <include reference="V3s-pF-yH0"/>
  172. <include reference="WSH-e8-tTB"/>
  173. <include reference="yfa-Bv-dI6"/>
  174. <include reference="5PU-Gx-kR5"/>
  175. <include reference="s8N-1O-wfy"/>
  176. <include reference="Ufg-FI-eti"/>
  177. </mask>
  178. </variation>
  179. </view>
  180. <connections>
  181. <outlet property="fullView" destination="Iyg-PB-Ecj" id="LsK-cr-N4O"/>
  182. <outlet property="idCardLocation" destination="xTw-dR-IoO" id="3c0-by-8rI"/>
  183. <outlet property="mImageCaptureButton" destination="UW6-E5-x6g" id="dkc-Yr-IvF"/>
  184. <outlet property="resultLabel" destination="9tK-Go-4fc" id="ixr-9h-QEs"/>
  185. <outlet property="superFullView" destination="Zzk-fs-c6D" id="C1X-Xr-4nf"/>
  186. </connections>
  187. </viewController>
  188. <placeholder placeholderIdentifier="IBFirstResponder" id="q49-gp-T0D" userLabel="First Responder" sceneMemberID="firstResponder"/>
  189. </objects>
  190. <point key="canvasLocation" x="1189.5" y="490.5"/>
  191. </scene>
  192. </scenes>
  193. <resources>
  194. <image name="oliveapp_face_black_shadow.png" width="10" height="10"/>
  195. <image name="oliveapp_idcard_thin.png" width="450" height="712"/>
  196. <image name="oliveapp_take_photo_button.png" width="160" height="160"/>
  197. </resources>
  198. </document>