MJWebViewViewController.xib 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="8191" systemVersion="15B42" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
  3. <dependencies>
  4. <deployment identifier="iOS"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8154"/>
  6. </dependencies>
  7. <objects>
  8. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="MJWebViewViewController">
  9. <connections>
  10. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  11. <outlet property="webView" destination="2Of-d4-HFt" id="PE7-tq-AIx"/>
  12. </connections>
  13. </placeholder>
  14. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  15. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  16. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  17. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  18. <subviews>
  19. <webView contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2Of-d4-HFt">
  20. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  21. <animations/>
  22. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  23. </webView>
  24. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8xo-5D-MRC">
  25. <rect key="frame" x="241" y="537" width="113" height="30"/>
  26. <animations/>
  27. <color key="backgroundColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  28. <constraints>
  29. <constraint firstAttribute="width" constant="113" id="2YR-NZ-hF1"/>
  30. <constraint firstAttribute="height" constant="30" id="qIc-RV-DwB"/>
  31. </constraints>
  32. <state key="normal" title="回到上一页">
  33. <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  34. </state>
  35. <connections>
  36. <action selector="back" destination="-1" eventType="touchUpInside" id="BG2-eT-gw7"/>
  37. </connections>
  38. </button>
  39. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="注意,这不是原生界面,是个网页:http://weibo.com/excepptions" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2VR-jQ-Qn4">
  40. <rect key="frame" x="146" y="459" width="208" height="31.5"/>
  41. <animations/>
  42. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.16" colorSpace="custom" customColorSpace="sRGB"/>
  43. <constraints>
  44. <constraint firstAttribute="width" constant="208" id="qkq-G9-eo2"/>
  45. </constraints>
  46. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  47. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  48. <nil key="highlightedColor"/>
  49. </label>
  50. </subviews>
  51. <animations/>
  52. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
  53. <constraints>
  54. <constraint firstItem="2Of-d4-HFt" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="3LR-sb-d2d"/>
  55. <constraint firstAttribute="bottom" secondItem="8xo-5D-MRC" secondAttribute="bottom" constant="100" id="GEd-8N-H2g"/>
  56. <constraint firstAttribute="trailing" secondItem="2VR-jQ-Qn4" secondAttribute="trailing" constant="21" id="JkD-lQ-2rZ"/>
  57. <constraint firstAttribute="trailing" secondItem="2Of-d4-HFt" secondAttribute="trailing" id="MWE-Gj-9Jb"/>
  58. <constraint firstAttribute="bottom" secondItem="2Of-d4-HFt" secondAttribute="bottom" id="YY5-j2-abg"/>
  59. <constraint firstAttribute="trailing" secondItem="8xo-5D-MRC" secondAttribute="trailing" constant="21" id="spl-mb-Eed"/>
  60. <constraint firstItem="8xo-5D-MRC" firstAttribute="top" secondItem="2VR-jQ-Qn4" secondAttribute="bottom" constant="46" id="zTm-ax-FFk"/>
  61. <constraint firstItem="2Of-d4-HFt" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="zy2-dj-Ccd"/>
  62. </constraints>
  63. <simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina47"/>
  64. </view>
  65. </objects>
  66. </document>