WebViewController.storyboard 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="agr-Bd-01h">
  3. <dependencies>
  4. <deployment identifier="iOS"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/>
  6. </dependencies>
  7. <scenes>
  8. <!--Web View Controller-->
  9. <scene sceneID="xDk-0N-TTV">
  10. <objects>
  11. <viewController id="agr-Bd-01h" customClass="WebViewController" customModule="Demo" customModuleProvider="target" sceneMemberID="viewController">
  12. <layoutGuides>
  13. <viewControllerLayoutGuide type="top" id="tFx-VQ-KEU"/>
  14. <viewControllerLayoutGuide type="bottom" id="yiC-n7-0o7"/>
  15. </layoutGuides>
  16. <view key="view" contentMode="scaleToFill" id="IRc-XT-O1w">
  17. <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
  18. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  19. <subviews>
  20. <webView contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="VC0-fG-sSg">
  21. <rect key="frame" x="0.0" y="20" width="600" height="200"/>
  22. <color key="backgroundColor" red="0.36078431370000003" green="0.38823529410000002" blue="0.4039215686" alpha="1" colorSpace="deviceRGB"/>
  23. <constraints>
  24. <constraint firstAttribute="height" constant="200" id="BaV-Vk-89A"/>
  25. </constraints>
  26. </webView>
  27. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="GnF-lf-UMf">
  28. <rect key="frame" x="285" y="250" width="30" height="30"/>
  29. <constraints>
  30. <constraint firstAttribute="width" constant="30" id="fco-gS-WH1"/>
  31. <constraint firstAttribute="height" constant="30" id="tDp-3p-Egp"/>
  32. </constraints>
  33. <state key="normal" title="PDF"/>
  34. <connections>
  35. <action selector="generatePDF" destination="agr-Bd-01h" eventType="touchUpInside" id="1Dr-rA-1tr"/>
  36. </connections>
  37. </button>
  38. </subviews>
  39. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  40. <constraints>
  41. <constraint firstItem="GnF-lf-UMf" firstAttribute="centerX" secondItem="IRc-XT-O1w" secondAttribute="centerX" id="EEL-dG-gHB"/>
  42. <constraint firstItem="VC0-fG-sSg" firstAttribute="leading" secondItem="IRc-XT-O1w" secondAttribute="leading" id="JFA-ge-bAo"/>
  43. <constraint firstItem="GnF-lf-UMf" firstAttribute="top" secondItem="VC0-fG-sSg" secondAttribute="bottom" constant="30" id="Jxb-tE-jJ6"/>
  44. <constraint firstAttribute="trailing" secondItem="VC0-fG-sSg" secondAttribute="trailing" id="TPP-ws-uqx"/>
  45. <constraint firstItem="VC0-fG-sSg" firstAttribute="top" secondItem="tFx-VQ-KEU" secondAttribute="bottom" id="gls-O5-HeG"/>
  46. </constraints>
  47. </view>
  48. <connections>
  49. <outlet property="webView" destination="VC0-fG-sSg" id="FN0-YH-6N8"/>
  50. </connections>
  51. </viewController>
  52. <placeholder placeholderIdentifier="IBFirstResponder" id="tD9-QV-HgR" userLabel="First Responder" sceneMemberID="firstResponder"/>
  53. </objects>
  54. <point key="canvasLocation" x="762" y="285"/>
  55. </scene>
  56. </scenes>
  57. </document>