MenuHeadView.xib 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22154" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22130"/>
  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="hHO-H2-FEX" customClass="MenuHeadView" customModule="ADHTuanCan" customModuleProvider="target">
  13. <rect key="frame" x="0.0" y="0.0" width="549" height="517"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  15. <subviews>
  16. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="首页背景" translatesAutoresizingMaskIntoConstraints="NO" id="6Wc-1S-tNY">
  17. <rect key="frame" x="0.0" y="0.0" width="549" height="517"/>
  18. </imageView>
  19. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="rgL-Xe-8Ai">
  20. <rect key="frame" x="0.0" y="44" width="65" height="24"/>
  21. <constraints>
  22. <constraint firstAttribute="width" constant="65" id="RNV-Tc-ATe"/>
  23. </constraints>
  24. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  25. <state key="normal" image="白色返回"/>
  26. <connections>
  27. <action selector="backAction:" destination="hHO-H2-FEX" eventType="touchUpInside" id="Gi9-hO-Uh5"/>
  28. </connections>
  29. </button>
  30. </subviews>
  31. <color key="backgroundColor" red="0.63137254899999995" green="0.66274509800000003" blue="0.78039215689999997" alpha="1" colorSpace="calibratedRGB"/>
  32. <constraints>
  33. <constraint firstAttribute="bottom" secondItem="6Wc-1S-tNY" secondAttribute="bottom" id="OZM-Hv-wYN"/>
  34. <constraint firstAttribute="trailing" secondItem="6Wc-1S-tNY" secondAttribute="trailing" id="SGf-Ie-s4e"/>
  35. <constraint firstItem="rgL-Xe-8Ai" firstAttribute="leading" secondItem="hHO-H2-FEX" secondAttribute="leading" id="XsS-3h-BhP"/>
  36. <constraint firstItem="6Wc-1S-tNY" firstAttribute="leading" secondItem="hHO-H2-FEX" secondAttribute="leading" id="icW-d5-7o4"/>
  37. <constraint firstItem="rgL-Xe-8Ai" firstAttribute="top" secondItem="hHO-H2-FEX" secondAttribute="top" constant="44" id="qwv-8A-Xsl"/>
  38. <constraint firstItem="6Wc-1S-tNY" firstAttribute="top" secondItem="hHO-H2-FEX" secondAttribute="top" id="sEs-nc-gmA"/>
  39. </constraints>
  40. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  41. <connections>
  42. <outlet property="backImageView" destination="6Wc-1S-tNY" id="K8T-bD-TVW"/>
  43. <outlet property="topHeight" destination="qwv-8A-Xsl" id="cxL-aU-RV9"/>
  44. </connections>
  45. <point key="canvasLocation" x="203.81679389312976" y="-85.563380281690144"/>
  46. </view>
  47. </objects>
  48. <resources>
  49. <image name="白色返回" width="24" height="24"/>
  50. <image name="首页背景" width="375" height="377.66665649414062"/>
  51. </resources>
  52. </document>