iOS build: add icon to launch screen

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-11-29 22:24:28 -08:00
parent 87e05f4db8
commit 625298a7b8
2 changed files with 9 additions and 5 deletions

View file

@ -245,6 +245,7 @@ include(../../../mobile-widgets/qml/kirigami/kirigami.pri)
ios {
QMAKE_ASSET_CATALOGS += ../storeIcon.xcassets
app_launch_images.files = ../SubsurfaceMobileLaunch.xib $$files(../SubsurfaceMobileLaunchImage*.png)
QMAKE_BUNDLE_DATA += app_launch_images
images.files = ../../../icons/subsurface-mobile-icon.png
QMAKE_BUNDLE_DATA += app_launch_images images
QMAKE_INFO_PLIST = ../Info.plist
}

View file

@ -31,10 +31,10 @@
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="yO0-Is-QXm">
<rect key="frame" x="120" y="218" width="240" height="128"/>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="subsurface-mobile-icon.png" translatesAutoresizingMaskIntoConstraints="NO" id="yO0-Is-QXm">
<rect key="frame" x="120" y="214" width="240" height="240"/>
<constraints>
<constraint firstAttribute="height" constant="128" id="Cgz-gv-e4R"/>
<constraint firstAttribute="height" constant="240" id="Cgz-gv-e4R"/>
<constraint firstAttribute="width" constant="240" id="Y6d-Ka-Jid"/>
</constraints>
</imageView>
@ -45,7 +45,7 @@
<constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>
<constraint firstAttribute="bottom" secondItem="8ie-xW-0ye" secondAttribute="bottom" constant="20" id="Kzo-t9-V3l"/>
<constraint firstItem="8ie-xW-0ye" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="MfP-vx-nX0"/>
<constraint firstItem="yO0-Is-QXm" firstAttribute="top" secondItem="kId-c2-rCX" secondAttribute="bottom" constant="35" id="RGE-re-jgt"/>
<constraint firstItem="yO0-Is-QXm" firstAttribute="top" secondItem="kId-c2-rCX" secondAttribute="bottom" constant="31" id="RGE-re-jgt"/>
<constraint firstAttribute="centerX" secondItem="8ie-xW-0ye" secondAttribute="centerX" id="ZEH-qu-HZ9"/>
<constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g"/>
<constraint firstItem="yO0-Is-QXm" firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="ihF-fN-fhQ"/>
@ -60,4 +60,7 @@
<point key="canvasLocation" x="404" y="445"/>
</view>
</objects>
<resources>
<image name="subsurface-mobile-icon.png" width="256" height="256"/>
</resources>
</document>