Skip to content

Commit

Permalink
Made fullscreen of camera nicer on new iPhones
Browse files Browse the repository at this point in the history
  • Loading branch information
gdombiak authored and Gaston Dombiak committed Nov 11, 2018
1 parent e8f5c16 commit 4273b59
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions OctoPod/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<containerView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="n53-As-HXW">
<rect key="frame" x="0.0" y="308" width="375" height="310"/>
<rect key="frame" x="0.0" y="308" width="375" height="359"/>
<connections>
<segue destination="Ssy-4U-x9b" kind="embed" id="QJF-Hj-FjS"/>
</connections>
Expand Down Expand Up @@ -52,14 +52,14 @@
<constraints>
<constraint firstItem="uff-mu-aBi" firstAttribute="top" secondItem="xB8-sn-f1e" secondAttribute="top" id="0IO-j5-j5m"/>
<constraint firstItem="xB8-sn-f1e" firstAttribute="trailing" secondItem="b0b-3X-MUJ" secondAttribute="trailing" constant="20" id="40I-bP-tdz"/>
<constraint firstItem="n53-As-HXW" firstAttribute="bottom" secondItem="xB8-sn-f1e" secondAttribute="bottom" id="56O-O7-HGU"/>
<constraint firstItem="n53-As-HXW" firstAttribute="bottom" secondItem="qbu-bG-uS0" secondAttribute="bottom" id="56O-O7-HGU"/>
<constraint firstItem="n53-As-HXW" firstAttribute="leading" secondItem="qbu-bG-uS0" secondAttribute="leading" id="EJM-Kp-uFt"/>
<constraint firstItem="xB8-sn-f1e" firstAttribute="bottom" secondItem="b0b-3X-MUJ" secondAttribute="bottom" constant="5" id="HQs-XF-yLa"/>
<constraint firstItem="n53-As-HXW" firstAttribute="trailing" secondItem="qbu-bG-uS0" secondAttribute="trailing" id="N87-pP-oZc"/>
<constraint firstItem="uff-mu-aBi" firstAttribute="leading" secondItem="qbu-bG-uS0" secondAttribute="leading" id="OUR-aT-aHE"/>
<constraint firstItem="uff-mu-aBi" firstAttribute="trailing" secondItem="qbu-bG-uS0" secondAttribute="trailing" id="Ynb-gY-yIl"/>
<constraint firstItem="n53-As-HXW" firstAttribute="top" secondItem="uff-mu-aBi" secondAttribute="bottom" id="laI-d5-TdD"/>
<constraint firstItem="n53-As-HXW" firstAttribute="top" secondItem="xB8-sn-f1e" secondAttribute="bottom" priority="998" id="xmR-ga-bXM"/>
<constraint firstItem="n53-As-HXW" firstAttribute="top" secondItem="qbu-bG-uS0" secondAttribute="bottom" priority="998" id="xmR-ga-bXM"/>
<constraint firstItem="b0b-3X-MUJ" firstAttribute="leading" secondItem="xB8-sn-f1e" secondAttribute="leading" constant="20" id="yqY-tW-mWr"/>
</constraints>
<viewLayoutGuide key="safeArea" id="xB8-sn-f1e"/>
Expand Down Expand Up @@ -103,7 +103,7 @@
<rect key="frame" x="168" y="207" width="39" height="37"/>
</pageControl>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="Tnd-hd-ss6" firstAttribute="centerX" secondItem="6jn-US-pKP" secondAttribute="centerX" id="M9e-C1-Gvl"/>
<constraint firstItem="Tnd-hd-ss6" firstAttribute="bottom" secondItem="6jn-US-pKP" secondAttribute="bottom" id="xvL-ov-qIG"/>
Expand Down Expand Up @@ -131,7 +131,6 @@
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="xgR-KO-IvE">
<rect key="frame" x="0.0" y="0.0" width="375" height="244"/>
<color key="backgroundColor" cocoaTouchSystemColor="scrollViewTexturedBackgroundColor"/>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Tap = Full Screen" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MT2-fR-HJD">
<rect key="frame" x="261.5" y="200" width="103.5" height="14.5"/>
Expand Down Expand Up @@ -164,7 +163,6 @@
</connections>
</button>
</subviews>
<color key="backgroundColor" cocoaTouchSystemColor="scrollViewTexturedBackgroundColor"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="BXr-d8-f7x" secondAttribute="trailing" constant="2" id="0uh-nc-ewd"/>
<constraint firstItem="xgR-KO-IvE" firstAttribute="height" secondItem="9ix-ve-DAs" secondAttribute="height" id="5HL-jX-IZN"/>
Expand All @@ -188,7 +186,6 @@
</connections>
</scrollView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="9ix-ve-DAs" firstAttribute="leading" secondItem="fPR-Va-Els" secondAttribute="leading" id="LO5-AI-EWU"/>
<constraint firstItem="9ix-ve-DAs" firstAttribute="bottom" secondItem="fPR-Va-Els" secondAttribute="bottom" id="X1h-1r-M9p"/>
Expand Down Expand Up @@ -1280,11 +1277,11 @@
<objects>
<viewController id="Ssy-4U-x9b" customClass="SubpanelsViewController" customModule="OctoPod" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="V2n-bo-PZB">
<rect key="frame" x="0.0" y="0.0" width="375" height="310"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="359"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<pageControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" numberOfPages="3" translatesAutoresizingMaskIntoConstraints="NO" id="Heg-2U-jxe">
<rect key="frame" x="168" y="278" width="39" height="37"/>
<rect key="frame" x="168" y="327" width="39" height="37"/>
</pageControl>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
Expand Down Expand Up @@ -4231,6 +4228,6 @@
<segue reference="DPY-Lb-zDG"/>
<segue reference="06R-xh-V19"/>
<segue reference="Rs9-4F-Pao"/>
<segue reference="JlG-hL-vqd"/>
<segue reference="KKl-Fj-b9B"/>
</inferredMetricsTieBreakers>
</document>

0 comments on commit 4273b59

Please sign in to comment.