LivePreviewBodyView.xib 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="LivePreviewBodyView">
  13. <rect key="frame" x="0.0" y="0.0" width="414" height="917"/>
  14. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  15. <subviews>
  16. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kfm-aC-UJ6">
  17. <rect key="frame" x="0.0" y="0.0" width="414" height="917"/>
  18. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  19. </view>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="livePreview_close" translatesAutoresizingMaskIntoConstraints="NO" id="YaR-eI-9ID">
  21. <rect key="frame" x="19" y="65" width="18" height="18"/>
  22. </imageView>
  23. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="XeW-qC-lAf">
  24. <rect key="frame" x="81.5" y="608.5" width="251" height="76"/>
  25. <subviews>
  26. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="utK-Cw-EDV">
  27. <rect key="frame" x="0.0" y="0.0" width="83.5" height="76"/>
  28. <subviews>
  29. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="live_switch" translatesAutoresizingMaskIntoConstraints="NO" id="lKf-On-Nhz">
  30. <rect key="frame" x="24.5" y="10" width="35" height="35"/>
  31. <constraints>
  32. <constraint firstAttribute="width" constant="35" id="ilG-Eb-HZf"/>
  33. <constraint firstAttribute="height" constant="35" id="rjF-Db-eZM"/>
  34. </constraints>
  35. </imageView>
  36. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="翻转" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6dP-na-Q0G">
  37. <rect key="frame" x="30.5" y="48" width="23" height="16"/>
  38. <constraints>
  39. <constraint firstAttribute="height" constant="16" id="mrk-u6-hK9"/>
  40. </constraints>
  41. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  42. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  43. <nil key="highlightedColor"/>
  44. </label>
  45. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3Q0-gr-Dbs">
  46. <rect key="frame" x="0.0" y="0.0" width="83.5" height="76"/>
  47. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  48. <connections>
  49. <action selector="switchAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="luH-9V-uMZ"/>
  50. </connections>
  51. </button>
  52. </subviews>
  53. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  54. <constraints>
  55. <constraint firstItem="lKf-On-Nhz" firstAttribute="top" secondItem="utK-Cw-EDV" secondAttribute="top" constant="10" id="9Ds-fi-7dW"/>
  56. <constraint firstItem="lKf-On-Nhz" firstAttribute="centerX" secondItem="utK-Cw-EDV" secondAttribute="centerX" id="Nxm-Wq-RpT"/>
  57. <constraint firstItem="3Q0-gr-Dbs" firstAttribute="leading" secondItem="utK-Cw-EDV" secondAttribute="leading" id="RIN-zF-dsr"/>
  58. <constraint firstItem="3Q0-gr-Dbs" firstAttribute="top" secondItem="utK-Cw-EDV" secondAttribute="top" id="TfT-0N-rft"/>
  59. <constraint firstItem="6dP-na-Q0G" firstAttribute="centerX" secondItem="lKf-On-Nhz" secondAttribute="centerX" id="b1i-4O-14L"/>
  60. <constraint firstAttribute="bottom" secondItem="3Q0-gr-Dbs" secondAttribute="bottom" id="cmV-D3-Eae"/>
  61. <constraint firstItem="6dP-na-Q0G" firstAttribute="top" secondItem="lKf-On-Nhz" secondAttribute="bottom" constant="3" id="cn2-l4-FMs"/>
  62. <constraint firstAttribute="trailing" secondItem="3Q0-gr-Dbs" secondAttribute="trailing" id="vOd-6V-d8M"/>
  63. </constraints>
  64. </view>
  65. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vhH-ad-pgs">
  66. <rect key="frame" x="83.5" y="0.0" width="84" height="76"/>
  67. <subviews>
  68. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="livePrew_beauty" translatesAutoresizingMaskIntoConstraints="NO" id="4dd-Kh-Kmk">
  69. <rect key="frame" x="24.5" y="10" width="35" height="35"/>
  70. <constraints>
  71. <constraint firstAttribute="width" constant="35" id="Khe-GL-mWs"/>
  72. <constraint firstAttribute="height" constant="35" id="qhs-hu-n1W"/>
  73. </constraints>
  74. </imageView>
  75. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="美颜" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="j4U-EV-Gh0">
  76. <rect key="frame" x="30.5" y="48" width="23" height="16"/>
  77. <constraints>
  78. <constraint firstAttribute="height" constant="16" id="bTP-CQ-5pM"/>
  79. </constraints>
  80. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  81. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  82. <nil key="highlightedColor"/>
  83. </label>
  84. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="TJq-DR-AeU">
  85. <rect key="frame" x="0.0" y="0.0" width="84" height="76"/>
  86. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  87. <connections>
  88. <action selector="beautyAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="Hlz-7Z-w4w"/>
  89. </connections>
  90. </button>
  91. </subviews>
  92. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  93. <constraints>
  94. <constraint firstItem="4dd-Kh-Kmk" firstAttribute="top" secondItem="vhH-ad-pgs" secondAttribute="top" constant="10" id="443-BX-uep"/>
  95. <constraint firstItem="4dd-Kh-Kmk" firstAttribute="centerX" secondItem="vhH-ad-pgs" secondAttribute="centerX" id="IEg-Yo-jVy"/>
  96. <constraint firstAttribute="bottom" secondItem="TJq-DR-AeU" secondAttribute="bottom" id="Jfb-mv-imx"/>
  97. <constraint firstItem="j4U-EV-Gh0" firstAttribute="centerX" secondItem="4dd-Kh-Kmk" secondAttribute="centerX" id="Twf-JO-ynW"/>
  98. <constraint firstItem="j4U-EV-Gh0" firstAttribute="top" secondItem="4dd-Kh-Kmk" secondAttribute="bottom" constant="3" id="VPq-i3-dPS"/>
  99. <constraint firstAttribute="trailing" secondItem="TJq-DR-AeU" secondAttribute="trailing" id="WbV-II-nTh"/>
  100. <constraint firstItem="TJq-DR-AeU" firstAttribute="top" secondItem="vhH-ad-pgs" secondAttribute="top" id="dsb-mk-oTi"/>
  101. <constraint firstItem="TJq-DR-AeU" firstAttribute="leading" secondItem="vhH-ad-pgs" secondAttribute="leading" id="fNS-Pp-8Lu"/>
  102. </constraints>
  103. </view>
  104. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jAT-dj-aq8">
  105. <rect key="frame" x="167.5" y="0.0" width="83.5" height="76"/>
  106. <subviews>
  107. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="live_share" translatesAutoresizingMaskIntoConstraints="NO" id="nc9-4x-kHq">
  108. <rect key="frame" x="24" y="10" width="35" height="35"/>
  109. <constraints>
  110. <constraint firstAttribute="height" constant="35" id="8nt-P7-avU"/>
  111. <constraint firstAttribute="width" constant="35" id="uSC-nv-5GY"/>
  112. </constraints>
  113. </imageView>
  114. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="分享" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Bpv-QR-PtI">
  115. <rect key="frame" x="30" y="48" width="23" height="16"/>
  116. <constraints>
  117. <constraint firstAttribute="height" constant="16" id="grB-Ze-frq"/>
  118. </constraints>
  119. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  120. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  121. <nil key="highlightedColor"/>
  122. </label>
  123. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cjc-mH-jHh">
  124. <rect key="frame" x="0.0" y="0.0" width="83.5" height="76"/>
  125. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  126. <connections>
  127. <action selector="shareAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="SF3-Tf-k7q"/>
  128. </connections>
  129. </button>
  130. </subviews>
  131. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  132. <constraints>
  133. <constraint firstItem="cjc-mH-jHh" firstAttribute="top" secondItem="jAT-dj-aq8" secondAttribute="top" id="EMK-G4-h14"/>
  134. <constraint firstAttribute="trailing" secondItem="cjc-mH-jHh" secondAttribute="trailing" id="IoO-ZQ-KwS"/>
  135. <constraint firstItem="cjc-mH-jHh" firstAttribute="leading" secondItem="jAT-dj-aq8" secondAttribute="leading" id="Tfa-3f-GPw"/>
  136. <constraint firstItem="Bpv-QR-PtI" firstAttribute="top" secondItem="nc9-4x-kHq" secondAttribute="bottom" constant="3" id="ZAF-dn-94b"/>
  137. <constraint firstItem="nc9-4x-kHq" firstAttribute="top" secondItem="jAT-dj-aq8" secondAttribute="top" constant="10" id="lrL-5L-xOv"/>
  138. <constraint firstAttribute="bottom" secondItem="cjc-mH-jHh" secondAttribute="bottom" id="qFE-d2-s45"/>
  139. <constraint firstItem="nc9-4x-kHq" firstAttribute="centerX" secondItem="jAT-dj-aq8" secondAttribute="centerX" id="xJp-7k-uXH"/>
  140. <constraint firstItem="Bpv-QR-PtI" firstAttribute="centerX" secondItem="nc9-4x-kHq" secondAttribute="centerX" id="y4D-wj-3Kx"/>
  141. </constraints>
  142. </view>
  143. </subviews>
  144. <color key="backgroundColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="0.25" colorSpace="custom" customColorSpace="calibratedRGB"/>
  145. <constraints>
  146. <constraint firstItem="jAT-dj-aq8" firstAttribute="width" secondItem="utK-Cw-EDV" secondAttribute="width" id="0aS-HW-sVk"/>
  147. <constraint firstAttribute="bottom" secondItem="vhH-ad-pgs" secondAttribute="bottom" id="5VH-L7-Ddf"/>
  148. <constraint firstItem="vhH-ad-pgs" firstAttribute="leading" secondItem="utK-Cw-EDV" secondAttribute="trailing" id="LAZ-t9-jV1"/>
  149. <constraint firstItem="vhH-ad-pgs" firstAttribute="width" secondItem="utK-Cw-EDV" secondAttribute="width" id="UZ5-vx-Rdn"/>
  150. <constraint firstAttribute="width" constant="251" id="Ubg-yr-iPK"/>
  151. <constraint firstItem="jAT-dj-aq8" firstAttribute="top" secondItem="XeW-qC-lAf" secondAttribute="top" id="gsa-Ij-iNg"/>
  152. <constraint firstItem="vhH-ad-pgs" firstAttribute="top" secondItem="XeW-qC-lAf" secondAttribute="top" id="izP-7H-KLr"/>
  153. <constraint firstAttribute="bottom" secondItem="utK-Cw-EDV" secondAttribute="bottom" id="j2i-p7-8nf"/>
  154. <constraint firstItem="utK-Cw-EDV" firstAttribute="leading" secondItem="XeW-qC-lAf" secondAttribute="leading" id="kbp-n5-G0A"/>
  155. <constraint firstItem="jAT-dj-aq8" firstAttribute="leading" secondItem="vhH-ad-pgs" secondAttribute="trailing" id="l4J-RU-UfG"/>
  156. <constraint firstAttribute="trailing" secondItem="jAT-dj-aq8" secondAttribute="trailing" id="p6Y-cm-oFt"/>
  157. <constraint firstItem="utK-Cw-EDV" firstAttribute="top" secondItem="XeW-qC-lAf" secondAttribute="top" id="rTd-JI-zwO"/>
  158. <constraint firstAttribute="height" constant="76" id="sty-yK-rcr"/>
  159. <constraint firstAttribute="bottom" secondItem="jAT-dj-aq8" secondAttribute="bottom" id="wlL-vf-TFQ"/>
  160. </constraints>
  161. <userDefinedRuntimeAttributes>
  162. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  163. <real key="value" value="16"/>
  164. </userDefinedRuntimeAttribute>
  165. </userDefinedRuntimeAttributes>
  166. </view>
  167. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5iE-d1-dDu">
  168. <rect key="frame" x="76" y="732.5" width="262" height="48"/>
  169. <color key="backgroundColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
  170. <constraints>
  171. <constraint firstAttribute="height" constant="48" id="YZo-l7-ee9"/>
  172. </constraints>
  173. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  174. <state key="normal" title="开启视频直播"/>
  175. <userDefinedRuntimeAttributes>
  176. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  177. <real key="value" value="24"/>
  178. </userDefinedRuntimeAttribute>
  179. </userDefinedRuntimeAttributes>
  180. <connections>
  181. <action selector="openLive:" destination="iN0-l3-epB" eventType="touchUpInside" id="X3p-5d-krv"/>
  182. </connections>
  183. </button>
  184. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="关闭" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mK5-gh-2k9">
  185. <rect key="frame" x="42" y="65.5" width="29" height="17"/>
  186. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  187. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  188. <nil key="highlightedColor"/>
  189. </label>
  190. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="WPP-dz-byk">
  191. <rect key="frame" x="19" y="52" width="52" height="44"/>
  192. <constraints>
  193. <constraint firstAttribute="height" constant="44" id="6h9-nI-aHz"/>
  194. </constraints>
  195. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  196. <connections>
  197. <action selector="backAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="xuA-4R-7D6"/>
  198. </connections>
  199. </button>
  200. </subviews>
  201. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  202. <constraints>
  203. <constraint firstItem="5iE-d1-dDu" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="76" id="0BM-aX-teB"/>
  204. <constraint firstItem="mK5-gh-2k9" firstAttribute="leading" secondItem="YaR-eI-9ID" secondAttribute="trailing" constant="5" id="0Qn-9N-cX7"/>
  205. <constraint firstItem="5iE-d1-dDu" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="6hT-QH-nMS"/>
  206. <constraint firstAttribute="bottom" secondItem="kfm-aC-UJ6" secondAttribute="bottom" id="7Nj-1P-3Db"/>
  207. <constraint firstItem="XeW-qC-lAf" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="centerY" constant="150" id="8KA-3y-6hP"/>
  208. <constraint firstAttribute="trailing" secondItem="5iE-d1-dDu" secondAttribute="trailing" constant="76" id="9It-qv-zSA"/>
  209. <constraint firstItem="XeW-qC-lAf" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="CNw-tL-PrC"/>
  210. <constraint firstAttribute="trailing" secondItem="kfm-aC-UJ6" secondAttribute="trailing" id="CwN-02-0IV"/>
  211. <constraint firstItem="YaR-eI-9ID" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="65" id="EKk-aC-GLF"/>
  212. <constraint firstItem="mK5-gh-2k9" firstAttribute="centerY" secondItem="WPP-dz-byk" secondAttribute="centerY" id="Lr2-fW-E1n"/>
  213. <constraint firstItem="YaR-eI-9ID" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="19" id="U45-pT-bqn"/>
  214. <constraint firstItem="mK5-gh-2k9" firstAttribute="trailing" secondItem="WPP-dz-byk" secondAttribute="trailing" id="VZS-rD-hex"/>
  215. <constraint firstItem="kfm-aC-UJ6" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="YIO-zg-fbO"/>
  216. <constraint firstItem="mK5-gh-2k9" firstAttribute="centerY" secondItem="YaR-eI-9ID" secondAttribute="centerY" id="gzj-Jq-Pkw"/>
  217. <constraint firstItem="5iE-d1-dDu" firstAttribute="top" secondItem="XeW-qC-lAf" secondAttribute="bottom" constant="48" id="iUr-iC-CiR"/>
  218. <constraint firstItem="kfm-aC-UJ6" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="n4X-0E-r5B"/>
  219. <constraint firstItem="YaR-eI-9ID" firstAttribute="leading" secondItem="WPP-dz-byk" secondAttribute="leading" id="wfl-r8-cKI"/>
  220. </constraints>
  221. <nil key="simulatedTopBarMetrics"/>
  222. <nil key="simulatedBottomBarMetrics"/>
  223. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  224. <connections>
  225. <outlet property="functionView" destination="XeW-qC-lAf" id="n0L-90-hid"/>
  226. <outlet property="videoView" destination="kfm-aC-UJ6" id="git-Rx-Zzs"/>
  227. </connections>
  228. <point key="canvasLocation" x="131.8840579710145" y="56.584821428571423"/>
  229. </view>
  230. </objects>
  231. <resources>
  232. <image name="livePreview_close" width="18" height="18"/>
  233. <image name="livePrew_beauty" width="35" height="35"/>
  234. <image name="live_share" width="35" height="35"/>
  235. <image name="live_switch" width="35" height="35"/>
  236. </resources>
  237. </document>