BogoNoNetworkView.xib 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="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="17703"/>
  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="BogoNoNetworkView">
  14. <rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="bogo_noNetwork" translatesAutoresizingMaskIntoConstraints="NO" id="A5b-uC-ajZ">
  18. <rect key="frame" x="73" y="166" width="268" height="234"/>
  19. <constraints>
  20. <constraint firstAttribute="height" constant="234" id="Jf0-8x-9LV"/>
  21. <constraint firstAttribute="width" constant="268" id="jBg-RQ-mwx"/>
  22. </constraints>
  23. </imageView>
  24. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="无网络连接" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Wc6-nX-euB">
  25. <rect key="frame" x="161" y="427" width="92" height="22"/>
  26. <fontDescription key="fontDescription" type="system" pointSize="18"/>
  27. <color key="textColor" red="0.46666666666666667" green="0.46666666666666667" blue="0.46666666666666667" alpha="1" colorSpace="calibratedRGB"/>
  28. <nil key="highlightedColor"/>
  29. </label>
  30. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="yzK-wz-6Ax">
  31. <rect key="frame" x="145" y="489" width="124" height="36"/>
  32. <color key="backgroundColor" red="0.62352941176470589" green="0.39215686274509803" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  33. <constraints>
  34. <constraint firstAttribute="height" constant="36" id="AGd-JZ-V0E"/>
  35. <constraint firstAttribute="width" constant="124" id="Ru0-Jf-XXF"/>
  36. </constraints>
  37. <state key="normal" title="重新加载页面">
  38. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  39. </state>
  40. <connections>
  41. <action selector="clickRestBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="I9o-Kl-uZr"/>
  42. </connections>
  43. </button>
  44. </subviews>
  45. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  46. <constraints>
  47. <constraint firstItem="Wc6-nX-euB" firstAttribute="top" secondItem="A5b-uC-ajZ" secondAttribute="bottom" constant="27" id="0xJ-r6-E0Q"/>
  48. <constraint firstItem="A5b-uC-ajZ" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="1Cy-IR-M1N"/>
  49. <constraint firstItem="yzK-wz-6Ax" firstAttribute="centerX" secondItem="Wc6-nX-euB" secondAttribute="centerX" id="30A-iS-YET"/>
  50. <constraint firstItem="yzK-wz-6Ax" firstAttribute="top" secondItem="Wc6-nX-euB" secondAttribute="bottom" constant="40" id="8Va-fA-x3A"/>
  51. <constraint firstItem="Wc6-nX-euB" firstAttribute="centerX" secondItem="A5b-uC-ajZ" secondAttribute="centerX" id="LvR-TI-f4a"/>
  52. <constraint firstItem="A5b-uC-ajZ" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="166" id="fPT-Gv-VXg"/>
  53. </constraints>
  54. <connections>
  55. <outlet property="resetBtn" destination="yzK-wz-6Ax" id="xWh-8c-M9Y"/>
  56. </connections>
  57. <point key="canvasLocation" x="139" y="55"/>
  58. </view>
  59. </objects>
  60. <resources>
  61. <image name="bogo_noNetwork" width="268" height="234"/>
  62. <systemColor name="systemBackgroundColor">
  63. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  64. </systemColor>
  65. </resources>
  66. </document>