Skip to content

Commit 828c9d1

Browse files
committed
adjust splash screen
1 parent bfc97ac commit 828c9d1

5 files changed

Lines changed: 35 additions & 16 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "launch-icon@1x.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"filename" : "launch-icon@2x.png",
10+
"idiom" : "universal",
11+
"scale" : "2x"
12+
},
13+
{
14+
"filename" : "launch-icon@3x.png",
15+
"idiom" : "universal",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"author" : "xcode",
21+
"version" : 1
22+
}
23+
}
12.3 KB
Loading
41.9 KB
Loading
121 KB
Loading

examples/demo/ios/demo/LaunchScreen.storyboard

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,18 @@
1616
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
1717
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1818
<subviews>
19-
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="demo" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
20-
<rect key="frame" x="0.0" y="202" width="375" height="43"/>
21-
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
22-
<nil key="highlightedColor"/>
23-
</label>
24-
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Powered by React Native" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="MN2-I3-ftu">
25-
<rect key="frame" x="0.0" y="626" width="375" height="21"/>
26-
<fontDescription key="fontDescription" type="system" pointSize="17"/>
27-
<nil key="highlightedColor"/>
28-
</label>
19+
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" image="LaunchIcon" translatesAutoresizingMaskIntoConstraints="NO" id="LSo-D1-Q2Z">
20+
<rect key="frame" x="117.5" y="263.5" width="140" height="140"/>
21+
<constraints>
22+
<constraint firstAttribute="width" constant="140" id="AMj-g8-f6A"/>
23+
<constraint firstAttribute="height" constant="140" id="B24-H9-VjC"/>
24+
</constraints>
25+
</imageView>
2926
</subviews>
3027
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
3128
<constraints>
32-
<constraint firstItem="Bcu-3y-fUS" firstAttribute="bottom" secondItem="MN2-I3-ftu" secondAttribute="bottom" constant="20" id="OZV-Vh-mqD"/>
33-
<constraint firstItem="Bcu-3y-fUS" firstAttribute="centerX" secondItem="GJd-Yh-RWb" secondAttribute="centerX" id="Q3B-4B-g5h"/>
34-
<constraint firstItem="MN2-I3-ftu" firstAttribute="centerX" secondItem="Bcu-3y-fUS" secondAttribute="centerX" id="akx-eg-2ui"/>
35-
<constraint firstItem="MN2-I3-ftu" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" id="i1E-0Y-4RG"/>
36-
<constraint firstItem="GJd-Yh-RWb" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="bottom" multiplier="1/3" constant="1" id="moa-c2-u7t"/>
37-
<constraint firstItem="GJd-Yh-RWb" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" symbolic="YES" id="x7j-FC-K8j"/>
29+
<constraint firstItem="LSo-D1-Q2Z" firstAttribute="centerX" secondItem="Bcu-3y-fUS" secondAttribute="centerX" id="2QY-M6-Ukx"/>
30+
<constraint firstItem="LSo-D1-Q2Z" firstAttribute="centerY" secondItem="Bcu-3y-fUS" secondAttribute="centerY" id="8xD-fv-CdR"/>
3831
</constraints>
3932
<viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
4033
</view>
@@ -44,4 +37,7 @@
4437
<point key="canvasLocation" x="52.173913043478265" y="375"/>
4538
</scene>
4639
</scenes>
40+
<resources>
41+
<image name="LaunchIcon" width="200" height="200"/>
42+
</resources>
4743
</document>

0 commit comments

Comments
 (0)