ZFRotationViewController.xib 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="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="16087"/>
  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" customClass="ZFRotationViewController">
  11. <connections>
  12. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  13. </connections>
  14. </placeholder>
  15. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  16. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  17. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  18. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  19. <subviews>
  20. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dph-dn-uja">
  21. <rect key="frame" x="30" y="318.5" width="62" height="30"/>
  22. <state key="normal" title="横屏全屏"/>
  23. <connections>
  24. <action selector="landscapeClick" destination="-1" eventType="touchUpInside" id="tOB-0V-ShI"/>
  25. </connections>
  26. </button>
  27. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="6He-YW-l3l">
  28. <rect key="frame" x="283" y="318.5" width="62" height="30"/>
  29. <state key="normal" title="竖屏全屏"/>
  30. <connections>
  31. <action selector="portraitClick" destination="-1" eventType="touchUpInside" id="05S-hb-cM7"/>
  32. </connections>
  33. </button>
  34. </subviews>
  35. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  36. <constraints>
  37. <constraint firstItem="6He-YW-l3l" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" id="82a-l9-o6N"/>
  38. <constraint firstItem="dph-dn-uja" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" id="etX-Y2-8U7"/>
  39. <constraint firstAttribute="trailing" secondItem="6He-YW-l3l" secondAttribute="trailing" constant="30" id="fUg-Fr-p2i"/>
  40. <constraint firstItem="dph-dn-uja" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="30" id="xWN-YV-l3p"/>
  41. </constraints>
  42. <point key="canvasLocation" x="135" y="154"/>
  43. </view>
  44. </objects>
  45. </document>