RDSResetDeviceVC.xib 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22504"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="RDSResetDeviceVC">
  13. <connections>
  14. <outlet property="imgView1" destination="kIs-jh-D8v" id="oJo-kc-sia"/>
  15. <outlet property="imgView2" destination="iBN-md-EPY" id="fZg-Ch-tvd"/>
  16. <outlet property="lab1" destination="rcz-y8-onc" id="rVT-U4-KJj"/>
  17. <outlet property="lab2" destination="mpd-nC-RDr" id="7FX-SL-Az2"/>
  18. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  19. </connections>
  20. </placeholder>
  21. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  22. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  23. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  24. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  25. <subviews>
  26. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1、长按『▲』和『▼』5秒进入配网模式,直到界面出现配网二维码" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rcz-y8-onc">
  27. <rect key="frame" x="50" y="45" width="275" height="36.5"/>
  28. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
  29. <color key="textColor" red="0.23921570180000001" green="0.23921570180000001" blue="0.23921570180000001" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  30. <nil key="highlightedColor"/>
  31. </label>
  32. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="img_reset_1" translatesAutoresizingMaskIntoConstraints="NO" id="kIs-jh-D8v">
  33. <rect key="frame" x="62.5" y="76.5" width="250" height="250"/>
  34. </imageView>
  35. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2、使用APP扫码绑定" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mpd-nC-RDr">
  36. <rect key="frame" x="50" y="324.5" width="275" height="18.5"/>
  37. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
  38. <color key="textColor" red="0.23921570180000001" green="0.23921570180000001" blue="0.23921570180000001" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="img_reset_2" translatesAutoresizingMaskIntoConstraints="NO" id="iBN-md-EPY">
  42. <rect key="frame" x="62.5" y="333" width="250" height="250"/>
  43. </imageView>
  44. <button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uI6-S8-ZGx">
  45. <rect key="frame" x="40" y="586.5" width="295" height="48"/>
  46. <color key="backgroundColor" red="0.027450980390000001" green="0.70196078429999997" blue="0.72549019609999998" alpha="1" colorSpace="calibratedRGB"/>
  47. <constraints>
  48. <constraint firstAttribute="height" constant="48" id="ZLF-wB-kCm"/>
  49. </constraints>
  50. <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
  51. <state key="normal" title="下一步">
  52. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  53. </state>
  54. <userDefinedRuntimeAttributes>
  55. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="8"/>
  56. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  57. </userDefinedRuntimeAttributes>
  58. <connections>
  59. <action selector="onNextBtnClick" destination="-1" eventType="touchUpInside" id="oZ1-IR-eTf"/>
  60. </connections>
  61. </button>
  62. </subviews>
  63. <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
  64. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  65. <constraints>
  66. <constraint firstItem="mpd-nC-RDr" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="6Gw-l6-y2o"/>
  67. <constraint firstItem="iBN-md-EPY" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="I3O-Mq-1zK"/>
  68. <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="rcz-y8-onc" secondAttribute="trailing" constant="50" id="THJ-GD-p6g"/>
  69. <constraint firstItem="uI6-S8-ZGx" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="U3l-NO-Th3"/>
  70. <constraint firstItem="uI6-S8-ZGx" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" multiplier="1.83" id="Y4U-Hy-Hco"/>
  71. <constraint firstItem="rcz-y8-onc" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="50" id="ZAm-7a-ohg"/>
  72. <constraint firstItem="uI6-S8-ZGx" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="40" id="dc7-Mq-8Uq"/>
  73. <constraint firstItem="mpd-nC-RDr" firstAttribute="leading" secondItem="rcz-y8-onc" secondAttribute="leading" id="hSD-5u-6Zb"/>
  74. <constraint firstItem="kIs-jh-D8v" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="n9j-hE-3p5"/>
  75. <constraint firstItem="iBN-md-EPY" firstAttribute="top" secondItem="mpd-nC-RDr" secondAttribute="bottom" constant="-10" id="nEi-kL-mNp"/>
  76. <constraint firstItem="mpd-nC-RDr" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" id="pvP-WK-ukb"/>
  77. <constraint firstItem="rcz-y8-onc" firstAttribute="top" secondItem="Q5M-cg-NOt" secondAttribute="top" constant="25" id="uf6-ha-hhh"/>
  78. <constraint firstItem="kIs-jh-D8v" firstAttribute="top" secondItem="rcz-y8-onc" secondAttribute="bottom" constant="-5" id="wjW-id-KhK"/>
  79. </constraints>
  80. <point key="canvasLocation" x="136.92307692307691" y="-1.4218009478672986"/>
  81. </view>
  82. </objects>
  83. <resources>
  84. <image name="img_reset_1" width="250" height="250"/>
  85. <image name="img_reset_2" width="250" height="250"/>
  86. <systemColor name="systemBackgroundColor">
  87. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  88. </systemColor>
  89. </resources>
  90. </document>