Skip to content

Commit 8a3c552

Browse files
committed
fix: stabilize ios launch screen build
1 parent 04fee9d commit 8a3c552

1 file changed

Lines changed: 21 additions & 13 deletions

File tree

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,40 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17132" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3-
<device id="retina4_7" orientation="portrait" appearance="light"/>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="24124" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3+
<device id="retina6_12" orientation="portrait" appearance="light"/>
44
<dependencies>
55
<deployment identifier="iOS"/>
6-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17105"/>
7-
<capability name="System colors in document resources" minToolsVersion="11.0"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="24093"/>
7+
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
88
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
99
</dependencies>
1010
<scenes>
1111
<!--View Controller-->
1212
<scene sceneID="EHf-IW-A2E">
1313
<objects>
1414
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
15-
<imageView key="view" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Splash" id="snD-IY-ifK">
16-
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
17-
<autoresizingMask key="autoresizingMask"/>
18-
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
19-
</imageView>
15+
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
16+
<rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
17+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
18+
<subviews>
19+
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Splash" translatesAutoresizingMaskIntoConstraints="NO" id="snD-IY-ifK">
20+
</imageView>
21+
</subviews>
22+
<viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
23+
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
24+
<constraints>
25+
<constraint firstItem="snD-IY-ifK" firstAttribute="top" secondItem="Ze5-6b-2t3" secondAttribute="top" id="1"/>
26+
<constraint firstAttribute="trailing" secondItem="snD-IY-ifK" secondAttribute="trailing" id="2"/>
27+
<constraint firstItem="snD-IY-ifK" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" id="3"/>
28+
<constraint firstAttribute="bottom" secondItem="snD-IY-ifK" secondAttribute="bottom" id="4"/>
29+
</constraints>
30+
</view>
2031
</viewController>
2132
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
2233
</objects>
2334
<point key="canvasLocation" x="53" y="375"/>
2435
</scene>
2536
</scenes>
2637
<resources>
27-
<image name="Splash" width="1366" height="1366"/>
28-
<systemColor name="systemBackgroundColor">
29-
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
30-
</systemColor>
38+
<image name="Splash" width="2732" height="2732"/>
3139
</resources>
3240
</document>

0 commit comments

Comments
 (0)