KSUpdateAlert.xib 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17156" 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="17126"/>
  7. <capability name="System colors in document resources" minToolsVersion="11.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="iN0-l3-epB" customClass="KSUpdateAlert">
  14. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <subviews>
  17. <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="nnQ-1g-J1M">
  18. <rect key="frame" x="71" y="366" width="272" height="164"/>
  19. <subviews>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="lDZ-pZ-1T9">
  21. <rect key="frame" x="0.0" y="116" width="272" height="48"/>
  22. <subviews>
  23. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="WKW-e2-2k1">
  24. <rect key="frame" x="0.0" y="0.0" width="136" height="48"/>
  25. <color key="backgroundColor" red="0.93333333333333335" green="0.93725490196078431" blue="0.95294117647058818" alpha="1" colorSpace="calibratedRGB"/>
  26. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
  27. <state key="normal" title="暂不更新">
  28. <color key="titleColor" red="0.0039215686274509803" green="0.75686274509803919" blue="0.70980392156862748" alpha="1" colorSpace="calibratedRGB"/>
  29. </state>
  30. <connections>
  31. <action selector="cancleAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="zUc-zM-Pok"/>
  32. </connections>
  33. </button>
  34. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mL2-ll-JMl">
  35. <rect key="frame" x="136" y="0.0" width="136" height="48"/>
  36. <color key="backgroundColor" red="0.0039215686274509803" green="0.75686274509803919" blue="0.70980392156862748" alpha="1" colorSpace="calibratedRGB"/>
  37. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
  38. <state key="normal" title="抢先体验">
  39. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  40. </state>
  41. <connections>
  42. <action selector="sureAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="ssj-WG-8NZ"/>
  43. </connections>
  44. </button>
  45. </subviews>
  46. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  47. <constraints>
  48. <constraint firstItem="mL2-ll-JMl" firstAttribute="width" secondItem="WKW-e2-2k1" secondAttribute="width" id="8na-Ji-Kge"/>
  49. <constraint firstItem="WKW-e2-2k1" firstAttribute="top" secondItem="lDZ-pZ-1T9" secondAttribute="top" id="9wD-f9-PXa"/>
  50. <constraint firstItem="mL2-ll-JMl" firstAttribute="leading" secondItem="WKW-e2-2k1" secondAttribute="trailing" id="DSe-Jl-11Q"/>
  51. <constraint firstItem="mL2-ll-JMl" firstAttribute="top" secondItem="lDZ-pZ-1T9" secondAttribute="top" id="FlR-fL-G15"/>
  52. <constraint firstAttribute="bottom" secondItem="mL2-ll-JMl" secondAttribute="bottom" id="M7r-3e-9bG"/>
  53. <constraint firstAttribute="trailing" secondItem="mL2-ll-JMl" secondAttribute="trailing" id="P8h-hX-esp"/>
  54. <constraint firstItem="WKW-e2-2k1" firstAttribute="leading" secondItem="lDZ-pZ-1T9" secondAttribute="leading" id="amZ-pS-Cg3"/>
  55. <constraint firstAttribute="height" constant="48" id="eI4-ns-Ixo"/>
  56. <constraint firstAttribute="bottom" secondItem="WKW-e2-2k1" secondAttribute="bottom" id="lCP-kZ-Eif"/>
  57. </constraints>
  58. </view>
  59. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="4Zi-8r-OOo">
  60. <rect key="frame" x="0.0" y="116" width="272" height="48"/>
  61. <subviews>
  62. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bQj-kr-1ay">
  63. <rect key="frame" x="24" y="-4" width="224" height="42"/>
  64. <color key="backgroundColor" red="0.0039215686269999999" green="0.75686274509999996" blue="0.70980392160000005" alpha="1" colorSpace="calibratedRGB"/>
  65. <constraints>
  66. <constraint firstAttribute="height" constant="42" id="cef-4x-IAB"/>
  67. </constraints>
  68. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
  69. <state key="normal" title="立即体验"/>
  70. <userDefinedRuntimeAttributes>
  71. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  72. <real key="value" value="21"/>
  73. </userDefinedRuntimeAttribute>
  74. </userDefinedRuntimeAttributes>
  75. <connections>
  76. <action selector="sureAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="ZSG-ml-1MH"/>
  77. </connections>
  78. </button>
  79. </subviews>
  80. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  81. <constraints>
  82. <constraint firstAttribute="trailing" secondItem="bQj-kr-1ay" secondAttribute="trailing" constant="24" id="44b-6t-DJa"/>
  83. <constraint firstAttribute="height" constant="48" id="EBc-TJ-NqT"/>
  84. <constraint firstAttribute="bottom" secondItem="bQj-kr-1ay" secondAttribute="bottom" constant="10" id="Qay-Ir-Ugn"/>
  85. <constraint firstItem="bQj-kr-1ay" firstAttribute="leading" secondItem="4Zi-8r-OOo" secondAttribute="leading" constant="24" id="sGu-uh-fbJ"/>
  86. </constraints>
  87. </view>
  88. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CHb-JK-aiZ" userLabel="V3.1.4新版本抢先体验">
  89. <rect key="frame" x="15" y="26" width="242" height="25"/>
  90. <constraints>
  91. <constraint firstAttribute="height" constant="25" id="esp-WI-hPC"/>
  92. </constraints>
  93. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
  94. <color key="textColor" red="0.10196078431372549" green="0.10196078431372549" blue="0.10196078431372549" alpha="1" colorSpace="calibratedRGB"/>
  95. <nil key="highlightedColor"/>
  96. </label>
  97. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3cI-nM-R2s">
  98. <rect key="frame" x="20" y="59" width="232" height="21"/>
  99. <constraints>
  100. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="21" id="Y2O-bh-VxA"/>
  101. </constraints>
  102. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  103. <color key="textColor" red="0.50196078431372548" green="0.50196078431372548" blue="0.50196078431372548" alpha="1" colorSpace="calibratedRGB"/>
  104. <nil key="highlightedColor"/>
  105. </label>
  106. </subviews>
  107. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  108. <constraints>
  109. <constraint firstItem="lDZ-pZ-1T9" firstAttribute="leading" secondItem="nnQ-1g-J1M" secondAttribute="leading" id="1Ef-aH-Rjo"/>
  110. <constraint firstItem="CHb-JK-aiZ" firstAttribute="leading" secondItem="nnQ-1g-J1M" secondAttribute="leading" constant="15" id="21Q-oz-R6c"/>
  111. <constraint firstItem="lDZ-pZ-1T9" firstAttribute="top" secondItem="3cI-nM-R2s" secondAttribute="bottom" constant="36" id="5Ia-la-Xee"/>
  112. <constraint firstAttribute="bottom" secondItem="lDZ-pZ-1T9" secondAttribute="bottom" id="JzA-Yx-Or2"/>
  113. <constraint firstAttribute="trailing" secondItem="lDZ-pZ-1T9" secondAttribute="trailing" id="Mle-ZQ-h2k"/>
  114. <constraint firstItem="4Zi-8r-OOo" firstAttribute="leading" secondItem="nnQ-1g-J1M" secondAttribute="leading" id="QXV-4z-5xo"/>
  115. <constraint firstAttribute="trailing" secondItem="4Zi-8r-OOo" secondAttribute="trailing" id="RX9-1E-QRd"/>
  116. <constraint firstAttribute="bottom" secondItem="4Zi-8r-OOo" secondAttribute="bottom" id="Tyv-9Z-UD4"/>
  117. <constraint firstAttribute="trailing" secondItem="3cI-nM-R2s" secondAttribute="trailing" constant="20" id="VG9-2F-jhx"/>
  118. <constraint firstItem="3cI-nM-R2s" firstAttribute="top" secondItem="CHb-JK-aiZ" secondAttribute="bottom" constant="8" id="W9c-Cp-5Qi"/>
  119. <constraint firstAttribute="width" constant="272" id="i7i-cx-nXD"/>
  120. <constraint firstItem="CHb-JK-aiZ" firstAttribute="top" secondItem="nnQ-1g-J1M" secondAttribute="top" constant="26" id="r1o-HQ-xTf"/>
  121. <constraint firstAttribute="trailing" secondItem="CHb-JK-aiZ" secondAttribute="trailing" constant="15" id="s5g-O2-0nq"/>
  122. <constraint firstItem="3cI-nM-R2s" firstAttribute="leading" secondItem="nnQ-1g-J1M" secondAttribute="leading" constant="20" id="uDf-QM-0RW"/>
  123. </constraints>
  124. <userDefinedRuntimeAttributes>
  125. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  126. <real key="value" value="10"/>
  127. </userDefinedRuntimeAttribute>
  128. </userDefinedRuntimeAttributes>
  129. </view>
  130. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="upAlert_bg" translatesAutoresizingMaskIntoConstraints="NO" id="2E8-CJ-lc7">
  131. <rect key="frame" x="71" y="255" width="272" height="121"/>
  132. </imageView>
  133. </subviews>
  134. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.5" colorSpace="custom" customColorSpace="calibratedRGB"/>
  135. <constraints>
  136. <constraint firstItem="2E8-CJ-lc7" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="9kV-A7-nZ3"/>
  137. <constraint firstItem="nnQ-1g-J1M" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="Jzi-Sk-xKX"/>
  138. <constraint firstItem="nnQ-1g-J1M" firstAttribute="trailing" secondItem="2E8-CJ-lc7" secondAttribute="trailing" id="ZW2-ba-zzg"/>
  139. <constraint firstItem="nnQ-1g-J1M" firstAttribute="leading" secondItem="2E8-CJ-lc7" secondAttribute="leading" id="laT-GJ-IE2"/>
  140. <constraint firstItem="nnQ-1g-J1M" firstAttribute="top" secondItem="2E8-CJ-lc7" secondAttribute="bottom" constant="-10" id="m9z-j0-2zd"/>
  141. <constraint firstItem="nnQ-1g-J1M" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="tiA-HJ-HiR"/>
  142. </constraints>
  143. <nil key="simulatedTopBarMetrics"/>
  144. <nil key="simulatedBottomBarMetrics"/>
  145. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  146. <connections>
  147. <outlet property="descLabel" destination="3cI-nM-R2s" id="4tP-y9-Q13"/>
  148. <outlet property="forceView" destination="4Zi-8r-OOo" id="1ld-gK-Nij"/>
  149. <outlet property="noforceView" destination="lDZ-pZ-1T9" id="YUm-Uw-ifp"/>
  150. <outlet property="tipsLabel" destination="CHb-JK-aiZ" id="Sn2-kp-BOq"/>
  151. </connections>
  152. <point key="canvasLocation" x="79.710144927536234" y="41.517857142857139"/>
  153. </view>
  154. </objects>
  155. <resources>
  156. <image name="upAlert_bg" width="272" height="121"/>
  157. <systemColor name="systemBackgroundColor">
  158. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  159. </systemColor>
  160. </resources>
  161. </document>