BogoYouthModeViewController.xib 5.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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="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" customClass="BogoYouthModeViewController">
  12. <connections>
  13. <outlet property="contentL" destination="KkP-YL-3Nx" id="xRX-3E-IsO"/>
  14. <outlet property="subTitle" destination="zRX-3e-3Co" id="rPs-Iu-ELc"/>
  15. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  16. </connections>
  17. </placeholder>
  18. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  19. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  20. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  21. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  22. <subviews>
  23. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="青少年模式简介" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zRX-3e-3Co">
  24. <rect key="frame" x="143" y="40" width="128.5" height="21"/>
  25. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
  26. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  27. <nil key="highlightedColor"/>
  28. </label>
  29. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KkP-YL-3Nx">
  30. <rect key="frame" x="12" y="81" width="390" height="0.0"/>
  31. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  32. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. <button opaque="NO" contentMode="scaleToFill" layoutMarginsFollowReadableWidth="YES" insetsLayoutMarginsFromSafeArea="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="35v-fg-Iyo">
  36. <rect key="frame" x="72" y="196.5" width="270" height="40"/>
  37. <constraints>
  38. <constraint firstAttribute="height" constant="40" id="FTN-Rp-NDn"/>
  39. <constraint firstAttribute="width" constant="270" id="oeq-hb-Rvc"/>
  40. </constraints>
  41. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  42. <state key="normal" title="开启青少年模式" backgroundImage="bogo_youth_openBtn"/>
  43. <connections>
  44. <action selector="clickOpenBtn:" destination="-1" eventType="touchUpInside" id="0gL-CJ-pjh"/>
  45. </connections>
  46. </button>
  47. </subviews>
  48. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  49. <constraints>
  50. <constraint firstItem="KkP-YL-3Nx" firstAttribute="top" secondItem="zRX-3e-3Co" secondAttribute="bottom" constant="20" id="53i-cr-hea"/>
  51. <constraint firstItem="zRX-3e-3Co" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="9Na-Yw-zyf"/>
  52. <constraint firstItem="35v-fg-Iyo" firstAttribute="top" secondItem="KkP-YL-3Nx" secondAttribute="bottom" constant="115.5" id="bSX-6k-x0D"/>
  53. <constraint firstItem="KkP-YL-3Nx" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="12" id="lYh-hX-SE0"/>
  54. <constraint firstItem="35v-fg-Iyo" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="leZ-rG-IIk"/>
  55. <constraint firstItem="zRX-3e-3Co" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="40" id="mAs-mx-hUW"/>
  56. <constraint firstAttribute="trailing" secondItem="KkP-YL-3Nx" secondAttribute="trailing" constant="12" id="p3Z-dI-onn"/>
  57. <constraint firstItem="KkP-YL-3Nx" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="uBn-aq-9Ul"/>
  58. </constraints>
  59. <point key="canvasLocation" x="-130.43478260869566" y="38.839285714285715"/>
  60. </view>
  61. </objects>
  62. <resources>
  63. <image name="bogo_youth_openBtn" width="270" height="40"/>
  64. <systemColor name="systemBackgroundColor">
  65. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  66. </systemColor>
  67. </resources>
  68. </document>