diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-11-29 22:24:28 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-11-29 22:32:03 -0800 |
commit | 625298a7b86688ee70de4bccb8fcff61f96650db (patch) | |
tree | ce8c2d3ec5a6c097c2a68e862bf6fe90888fa50f | |
parent | 87e05f4db8ca4745fd4331b5437f7325820c9516 (diff) | |
download | subsurface-625298a7b86688ee70de4bccb8fcff61f96650db.tar.gz |
iOS build: add icon to launch screen
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | packaging/ios/Subsurface-mobile/Subsurface-mobile.pro | 3 | ||||
-rw-r--r-- | packaging/ios/SubsurfaceMobileLaunch.xib | 11 |
2 files changed, 9 insertions, 5 deletions
diff --git a/packaging/ios/Subsurface-mobile/Subsurface-mobile.pro b/packaging/ios/Subsurface-mobile/Subsurface-mobile.pro index 39d6722e3..f8d4d9738 100644 --- a/packaging/ios/Subsurface-mobile/Subsurface-mobile.pro +++ b/packaging/ios/Subsurface-mobile/Subsurface-mobile.pro @@ -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 } diff --git a/packaging/ios/SubsurfaceMobileLaunch.xib b/packaging/ios/SubsurfaceMobileLaunch.xib index 4d94bb93b..a7b142bc9 100644 --- a/packaging/ios/SubsurfaceMobileLaunch.xib +++ b/packaging/ios/SubsurfaceMobileLaunch.xib @@ -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> |