IOS: Add LaunchScreen.storyboard to support full screen on iPad Pro

This commit is contained in:
Andrew Martin 2020-08-20 22:40:25 +01:00 committed by Thierry Crozat
parent 86f3414bc2
commit d20d597f72
6 changed files with 67 additions and 0 deletions

View File

@ -810,6 +810,7 @@ XcodeProvider::ValueList& XcodeProvider::getResourceFiles() const {
files.push_back("dists/engine-data/ultima.dat");
files.push_back("dists/engine-data/wintermute.zip");
files.push_back("dists/engine-data/xeen.ccs");
files.push_back("dists/ios7/LaunchScreen_ios.storyboard");
files.push_back("dists/pred.dic");
files.push_back("dists/networking/wwwroot.zip");
files.push_back("icons/scummvm.icns");

View File

@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "ScummVM.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -37,6 +37,8 @@
<true/>
<key>UILaunchImages</key>
<array/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen_ios</string>
<key>UIPrerenderedIcon</key>
<true/>
<key>UIRequiresFullScreen</key>

View File

@ -37,6 +37,8 @@
<true/>
<key>UILaunchImages</key>
<array/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen_ios</string>
<key>UIPrerenderedIcon</key>
<true/>
<key>UIRequiresFullScreen</key>

View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment version="2048" identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="kfR-vv-sCd"/>
<viewControllerLayoutGuide type="bottom" id="KcF-ab-V6r"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" image="ScummVM" translatesAutoresizingMaskIntoConstraints="NO" id="Ril-gi-m8R">
<rect key="frame" x="53.5" y="405.5" width="307" height="85"/>
</imageView>
</subviews>
<color key="backgroundColor" red="0.806841433" green="0.40681111809999998" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="Ril-gi-m8R" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="GYN-Pc-5zR"/>
<constraint firstItem="Ril-gi-m8R" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="tDr-MD-7QO"/>
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="49.275362318840585" y="372.32142857142856"/>
</scene>
</scenes>
<resources>
<image name="ScummVM" width="307" height="85"/>
</resources>
</document>