ShowPhotoCameraAlertView.xib 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina5_5" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15706"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <view contentMode="scaleToFill" id="mXi-ZS-W0e" customClass="ShowPhotoCameraAlertView">
  14. <rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
  15. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  16. <subviews>
  17. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Wzx-Te-fdv">
  18. <rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
  19. <connections>
  20. <action selector="userDidBackClickAction:" destination="mXi-ZS-W0e" eventType="touchUpInside" id="39K-8W-dau"/>
  21. </connections>
  22. </button>
  23. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EbE-AM-fus">
  24. <rect key="frame" x="0.0" y="593" width="414" height="143"/>
  25. <subviews>
  26. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FpB-hN-sxx">
  27. <rect key="frame" x="0.0" y="0.0" width="414" height="45"/>
  28. <subviews>
  29. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Md6-4i-oLU">
  30. <rect key="frame" x="0.0" y="0.0" width="414" height="44.666666666666664"/>
  31. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  32. <state key="normal" title="拍照">
  33. <color key="titleColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  34. </state>
  35. <connections>
  36. <action selector="userDidPhotoClickAction:" destination="mXi-ZS-W0e" eventType="touchUpInside" id="rIQ-4N-yGL"/>
  37. </connections>
  38. </button>
  39. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="OML-ic-R4n">
  40. <rect key="frame" x="0.0" y="44.666666666666629" width="414" height="0.3333333333333357"/>
  41. <color key="backgroundColor" red="0.8980392157" green="0.8980392157" blue="0.8980392157" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  42. <constraints>
  43. <constraint firstAttribute="height" constant="0.5" id="O3U-i7-PoW"/>
  44. </constraints>
  45. </view>
  46. </subviews>
  47. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  48. <constraints>
  49. <constraint firstItem="OML-ic-R4n" firstAttribute="top" secondItem="Md6-4i-oLU" secondAttribute="bottom" id="2Wj-QV-WP0"/>
  50. <constraint firstItem="OML-ic-R4n" firstAttribute="leading" secondItem="FpB-hN-sxx" secondAttribute="leading" id="9Am-C4-VaF"/>
  51. <constraint firstAttribute="bottom" secondItem="OML-ic-R4n" secondAttribute="bottom" id="MqE-pG-l8K"/>
  52. <constraint firstAttribute="height" constant="45" id="P6J-Xl-dz4"/>
  53. <constraint firstAttribute="trailing" secondItem="OML-ic-R4n" secondAttribute="trailing" id="lFN-PE-ycO"/>
  54. <constraint firstItem="Md6-4i-oLU" firstAttribute="leading" secondItem="FpB-hN-sxx" secondAttribute="leading" id="p4S-9g-PnJ"/>
  55. <constraint firstAttribute="trailing" secondItem="Md6-4i-oLU" secondAttribute="trailing" id="pPb-cJ-cBH"/>
  56. <constraint firstItem="Md6-4i-oLU" firstAttribute="top" secondItem="FpB-hN-sxx" secondAttribute="top" id="ys7-wm-MiC"/>
  57. </constraints>
  58. </view>
  59. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ysQ-RR-vdK">
  60. <rect key="frame" x="0.0" y="48" width="414" height="45"/>
  61. <subviews>
  62. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="XU9-ft-kvd">
  63. <rect key="frame" x="0.0" y="0.0" width="414" height="44.666666666666664"/>
  64. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  65. <state key="normal" title="从相册选取">
  66. <color key="titleColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  67. </state>
  68. <connections>
  69. <action selector="userDidCameraClickAction:" destination="mXi-ZS-W0e" eventType="touchUpInside" id="GJe-Tj-6ot"/>
  70. </connections>
  71. </button>
  72. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jq2-m4-gco">
  73. <rect key="frame" x="0.0" y="44.666666666666629" width="414" height="0.3333333333333357"/>
  74. <color key="backgroundColor" red="0.8980392157" green="0.8980392157" blue="0.8980392157" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  75. <constraints>
  76. <constraint firstAttribute="height" constant="0.5" id="lzf-aa-IzB"/>
  77. </constraints>
  78. </view>
  79. </subviews>
  80. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  81. <constraints>
  82. <constraint firstAttribute="height" constant="45" id="5Jf-iV-mM0"/>
  83. <constraint firstItem="XU9-ft-kvd" firstAttribute="leading" secondItem="ysQ-RR-vdK" secondAttribute="leading" id="Byl-2U-wJm"/>
  84. <constraint firstItem="jq2-m4-gco" firstAttribute="leading" secondItem="ysQ-RR-vdK" secondAttribute="leading" id="DFl-g8-XM0"/>
  85. <constraint firstAttribute="trailing" secondItem="jq2-m4-gco" secondAttribute="trailing" id="JUv-aR-hZc"/>
  86. <constraint firstAttribute="trailing" secondItem="XU9-ft-kvd" secondAttribute="trailing" id="Ral-Ad-7kX"/>
  87. <constraint firstItem="XU9-ft-kvd" firstAttribute="top" secondItem="ysQ-RR-vdK" secondAttribute="top" id="hYq-kz-9wV"/>
  88. <constraint firstAttribute="bottom" secondItem="jq2-m4-gco" secondAttribute="bottom" id="y5G-de-wIM"/>
  89. <constraint firstItem="jq2-m4-gco" firstAttribute="top" secondItem="XU9-ft-kvd" secondAttribute="bottom" id="zdw-HP-bgp"/>
  90. </constraints>
  91. </view>
  92. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="okb-Bl-zEk">
  93. <rect key="frame" x="0.0" y="93" width="414" height="5"/>
  94. <color key="backgroundColor" red="0.8980392157" green="0.8980392157" blue="0.8980392157" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  95. <constraints>
  96. <constraint firstAttribute="height" constant="5" id="Led-qA-10A"/>
  97. </constraints>
  98. </view>
  99. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2Ij-Ya-IeI">
  100. <rect key="frame" x="0.0" y="98" width="414" height="45"/>
  101. <subviews>
  102. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ocn-g2-wNM">
  103. <rect key="frame" x="0.0" y="0.0" width="414" height="45"/>
  104. <constraints>
  105. <constraint firstAttribute="height" constant="45" id="yfc-Vh-ZI9"/>
  106. </constraints>
  107. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  108. <state key="normal" title="取消">
  109. <color key="titleColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  110. </state>
  111. <connections>
  112. <action selector="userDidBackClickAction:" destination="mXi-ZS-W0e" eventType="touchUpInside" id="8DL-vv-2Co"/>
  113. </connections>
  114. </button>
  115. </subviews>
  116. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  117. <constraints>
  118. <constraint firstAttribute="height" constant="45" id="Sdv-L4-8ui"/>
  119. <constraint firstAttribute="trailing" secondItem="Ocn-g2-wNM" secondAttribute="trailing" id="Ypp-mU-B70"/>
  120. <constraint firstItem="Ocn-g2-wNM" firstAttribute="top" secondItem="2Ij-Ya-IeI" secondAttribute="top" id="cnv-MK-aGM"/>
  121. <constraint firstItem="Ocn-g2-wNM" firstAttribute="leading" secondItem="2Ij-Ya-IeI" secondAttribute="leading" id="t5a-sc-DcY"/>
  122. </constraints>
  123. </view>
  124. </subviews>
  125. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  126. <constraints>
  127. <constraint firstItem="okb-Bl-zEk" firstAttribute="top" secondItem="ysQ-RR-vdK" secondAttribute="bottom" id="AHL-qr-Um6"/>
  128. <constraint firstItem="ysQ-RR-vdK" firstAttribute="top" secondItem="FpB-hN-sxx" secondAttribute="bottom" constant="3" id="BvG-Gx-Pv2"/>
  129. <constraint firstItem="2Ij-Ya-IeI" firstAttribute="leading" secondItem="EbE-AM-fus" secondAttribute="leading" id="DbS-aK-pbL"/>
  130. <constraint firstItem="okb-Bl-zEk" firstAttribute="leading" secondItem="EbE-AM-fus" secondAttribute="leading" id="HJt-oL-R3F"/>
  131. <constraint firstItem="FpB-hN-sxx" firstAttribute="leading" secondItem="EbE-AM-fus" secondAttribute="leading" id="ITI-im-TgJ"/>
  132. <constraint firstItem="FpB-hN-sxx" firstAttribute="top" secondItem="EbE-AM-fus" secondAttribute="top" id="LEw-0N-dKw"/>
  133. <constraint firstAttribute="bottom" secondItem="2Ij-Ya-IeI" secondAttribute="bottom" id="Ljv-Hl-RdS"/>
  134. <constraint firstAttribute="trailing" secondItem="FpB-hN-sxx" secondAttribute="trailing" id="NZd-z0-zp1"/>
  135. <constraint firstAttribute="trailing" secondItem="ysQ-RR-vdK" secondAttribute="trailing" id="Ndx-A6-Ode"/>
  136. <constraint firstItem="ysQ-RR-vdK" firstAttribute="leading" secondItem="EbE-AM-fus" secondAttribute="leading" id="Nwn-4F-ABD"/>
  137. <constraint firstItem="2Ij-Ya-IeI" firstAttribute="top" secondItem="okb-Bl-zEk" secondAttribute="bottom" id="Ocu-NQ-Sa7"/>
  138. <constraint firstAttribute="height" constant="143" id="oDo-Tn-lKX"/>
  139. <constraint firstAttribute="trailing" secondItem="2Ij-Ya-IeI" secondAttribute="trailing" id="u1x-E6-Czp"/>
  140. <constraint firstAttribute="trailing" secondItem="okb-Bl-zEk" secondAttribute="trailing" id="wJa-sX-rms"/>
  141. </constraints>
  142. </view>
  143. </subviews>
  144. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  145. <constraints>
  146. <constraint firstItem="Wzx-Te-fdv" firstAttribute="top" secondItem="oVo-Pn-kCm" secondAttribute="top" id="8Et-k9-7q9"/>
  147. <constraint firstAttribute="bottom" secondItem="EbE-AM-fus" secondAttribute="bottom" id="P0t-gg-xbG"/>
  148. <constraint firstItem="Wzx-Te-fdv" firstAttribute="leading" secondItem="oVo-Pn-kCm" secondAttribute="leading" id="QZ9-C1-vif"/>
  149. <constraint firstItem="oVo-Pn-kCm" firstAttribute="trailing" secondItem="EbE-AM-fus" secondAttribute="trailing" id="Xa6-ZG-Gm6"/>
  150. <constraint firstItem="oVo-Pn-kCm" firstAttribute="trailing" secondItem="Wzx-Te-fdv" secondAttribute="trailing" id="dlB-hD-HTZ"/>
  151. <constraint firstItem="oVo-Pn-kCm" firstAttribute="bottom" secondItem="Wzx-Te-fdv" secondAttribute="bottom" id="k8h-Ok-H0J"/>
  152. <constraint firstItem="EbE-AM-fus" firstAttribute="leading" secondItem="oVo-Pn-kCm" secondAttribute="leading" id="rjh-xH-4O8"/>
  153. </constraints>
  154. <viewLayoutGuide key="safeArea" id="oVo-Pn-kCm"/>
  155. <connections>
  156. <outlet property="bottomH" destination="oDo-Tn-lKX" id="cN9-pf-jwx"/>
  157. </connections>
  158. <point key="canvasLocation" x="-57" y="117"/>
  159. </view>
  160. </objects>
  161. </document>