Revision control

Copy as Markdown

<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="RequestPermissionsViewController" customModule="XRViewer" customModuleProvider="target">
<connections>
<outlet property="buttonCamera" destination="qCR-Af-hIb" id="Vzp-Vl-pMg"/>
<outlet property="buttonGPS" destination="F5N-RO-oFw" id="OaG-LL-m2E"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
<rect key="frame" x="0.0" y="0.0" width="321" height="300"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="32" translatesAutoresizingMaskIntoConstraints="NO" id="uzg-r2-mUh">
<rect key="frame" x="45" y="21" width="231" height="258"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="RZL-Mj-bNb">
<rect key="frame" x="0.0" y="0.0" width="231" height="113"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="fMy-tJ-WsM">
<rect key="frame" x="0.0" y="0.0" width="231" height="61"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="XRViewer needs GPS access for AR. You can adjust this in the iOS Settings app." textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8FG-ZC-44u">
<rect key="frame" x="0.0" y="0.0" width="231" height="61"/>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="8FG-ZC-44u" firstAttribute="top" secondItem="fMy-tJ-WsM" secondAttribute="top" id="JDE-fM-VSW"/>
<constraint firstAttribute="trailing" secondItem="8FG-ZC-44u" secondAttribute="trailing" id="Sbd-6G-UuX"/>
<constraint firstAttribute="bottom" secondItem="8FG-ZC-44u" secondAttribute="bottom" id="bIm-Bf-VDP"/>
<constraint firstItem="8FG-ZC-44u" firstAttribute="leading" secondItem="fMy-tJ-WsM" secondAttribute="leading" id="pFN-bk-j8T"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="F5N-RO-oFw">
<rect key="frame" x="0.0" y="69" width="231" height="44"/>
<constraints>
<constraint firstAttribute="height" constant="44" id="92K-CE-7kj"/>
</constraints>
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="16" maxY="0.0"/>
<state key="normal" title="GPS access"/>
<connections>
<action selector="buttonGPSAccessTapped" destination="-1" eventType="touchUpInside" id="dS5-uV-Rwz"/>
</connections>
</button>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="LH1-U7-fap">
<rect key="frame" x="0.0" y="145" width="231" height="113"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eGY-zQ-70J">
<rect key="frame" x="0.0" y="0.0" width="231" height="61"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="XRViewer needs camera access for AR. You can adjust this in the iOS Settings app." textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XhM-wV-ZQx">
<rect key="frame" x="0.0" y="0.0" width="231" height="61"/>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="XhM-wV-ZQx" secondAttribute="bottom" id="Bu2-TY-TdB"/>
<constraint firstItem="XhM-wV-ZQx" firstAttribute="leading" secondItem="eGY-zQ-70J" secondAttribute="leading" id="ZH1-Sb-tl9"/>
<constraint firstItem="XhM-wV-ZQx" firstAttribute="top" secondItem="eGY-zQ-70J" secondAttribute="top" id="dBF-pU-16p"/>
<constraint firstAttribute="trailing" secondItem="XhM-wV-ZQx" secondAttribute="trailing" id="dBa-yF-FBT"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qCR-Af-hIb">
<rect key="frame" x="0.0" y="69" width="231" height="44"/>
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="16" maxY="0.0"/>
<state key="normal" title="Camera access"/>
<connections>
<action selector="buttonCameraAccessTapped" destination="-1" eventType="touchUpInside" id="aRB-Bt-9aD"/>
</connections>
</button>
</subviews>
</stackView>
</subviews>
<constraints>
<constraint firstItem="qCR-Af-hIb" firstAttribute="height" secondItem="F5N-RO-oFw" secondAttribute="height" id="Bpb-uM-FOf"/>
</constraints>
</stackView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="uzg-r2-mUh" secondAttribute="trailing" constant="45" id="UEo-Zy-hH3"/>
<constraint firstItem="uzg-r2-mUh" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="45" id="cI5-MA-19h"/>
<constraint firstItem="uzg-r2-mUh" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="fJS-qb-NhX"/>
<constraint firstItem="uzg-r2-mUh" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" id="iB8-Ak-yhH"/>
</constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
<point key="canvasLocation" x="-174.5" y="229"/>
</view>
</objects>
</document>