forked from mirrors/linphone-iphone
Use a launch screen to disable scaling on iPhone 6.
This is not yet optimal because the iPad landscape launch screen is stretched.
This commit is contained in:
parent
af4f0d7e5b
commit
f17e8259e1
3 changed files with 39 additions and 0 deletions
33
Classes/LaunchScreen.xib
Normal file
33
Classes/LaunchScreen.xib
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6250" systemVersion="14A389" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6244"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<view contentMode="scaleToFill" id="iN0-l3-epB">
|
||||
<rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" image="linphone_splashscreen-Portrait.png" translatesAutoresizingMaskIntoConstraints="NO" id="ZNA-uh-Joz" userLabel="splashPortrait">
|
||||
<rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstItem="ZNA-uh-Joz" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="3EA-Ma-qIp"/>
|
||||
<constraint firstAttribute="bottom" secondItem="ZNA-uh-Joz" secondAttribute="bottom" id="80c-Eb-lFq"/>
|
||||
<constraint firstAttribute="trailing" secondItem="ZNA-uh-Joz" secondAttribute="trailing" id="GV3-Vq-Nen"/>
|
||||
<constraint firstItem="ZNA-uh-Joz" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="flp-SB-pcz"/>
|
||||
</constraints>
|
||||
<nil key="simulatedStatusBarMetrics"/>
|
||||
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
|
||||
<point key="canvasLocation" x="404" y="445"/>
|
||||
</view>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="linphone_splashscreen-Portrait.png" width="768" height="1004"/>
|
||||
</resources>
|
||||
</document>
|
||||
|
|
@ -115,6 +115,8 @@
|
|||
<string>linphone_splashscreen</string>
|
||||
<key>UILaunchImageFile~iphone</key>
|
||||
<string>linphone_splashscreen</string>
|
||||
<key>UILaunchStoryboardName</key>
|
||||
<string>LaunchScreen</string>
|
||||
<key>UIMainStoryboardFile</key>
|
||||
<string>MainStoryboard</string>
|
||||
<key>UIRequiredDeviceCapabilities</key>
|
||||
|
|
|
|||
|
|
@ -762,6 +762,7 @@
|
|||
F0BB8C47193630CA00974404 /* tester_hosts in Resources */ = {isa = PBXBuildFile; fileRef = F0BB8C42193630CA00974404 /* tester_hosts */; };
|
||||
F0BB8C4C193631D200974404 /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 22276E8813C73DC000210156 /* CoreMedia.framework */; };
|
||||
F0BB8C4D193631DF00974404 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 224567C1107B968500F10948 /* AVFoundation.framework */; };
|
||||
F0C1F8EB1A277ADA009402C9 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = F0C1F8EA1A277ADA009402C9 /* LaunchScreen.xib */; };
|
||||
F476004B147AAF2800FFF19B /* liblinphone.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2211DB911475562600DEE054 /* liblinphone.a */; };
|
||||
F84015BF1939FE37006ABAB5 /* test_failed.png in Resources */ = {isa = PBXBuildFile; fileRef = F84015BC1939FE37006ABAB5 /* test_failed.png */; };
|
||||
F84015C01939FE37006ABAB5 /* test_inprogress.png in Resources */ = {isa = PBXBuildFile; fileRef = F84015BD1939FE37006ABAB5 /* test_inprogress.png */; };
|
||||
|
|
@ -1752,6 +1753,7 @@
|
|||
F0BB8C41193630CA00974404 /* marie_xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = marie_xml; path = submodules/linphone/tester/marie_xml; sourceTree = SOURCE_ROOT; };
|
||||
F0BB8C42193630CA00974404 /* tester_hosts */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = tester_hosts; path = submodules/linphone/tester/tester_hosts; sourceTree = SOURCE_ROOT; };
|
||||
F0BB8C4A193631B300974404 /* ImageIO.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ImageIO.framework; path = System/Library/Frameworks/ImageIO.framework; sourceTree = SDKROOT; };
|
||||
F0C1F8EA1A277ADA009402C9 /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = "<group>"; };
|
||||
F84015BC1939FE37006ABAB5 /* test_failed.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = test_failed.png; path = Resources/test_failed.png; sourceTree = "<group>"; };
|
||||
F84015BD1939FE37006ABAB5 /* test_inprogress.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = test_inprogress.png; path = Resources/test_inprogress.png; sourceTree = "<group>"; };
|
||||
F84015BE1939FE37006ABAB5 /* test_passed.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = test_passed.png; path = Resources/test_passed.png; sourceTree = "<group>"; };
|
||||
|
|
@ -1943,6 +1945,7 @@
|
|||
D3F26BEF15986B71005F9CAB /* IncomingCallViewController.m */,
|
||||
D38187DC15FE347700C3EDCA /* IncomingCallViewController.xib */,
|
||||
D3D52A711614480700DEB00A /* IncomingCallViewController~ipad.xib */,
|
||||
F0C1F8EA1A277ADA009402C9 /* LaunchScreen.xib */,
|
||||
1D3623240D0F684500981E51 /* LinphoneAppDelegate.h */,
|
||||
1D3623250D0F684500981E51 /* LinphoneAppDelegate.m */,
|
||||
D37DC6BF1594AE1800B2A5EB /* LinphoneCoreSettingsStore.h */,
|
||||
|
|
@ -3563,6 +3566,7 @@
|
|||
F070E6331A2622EC00E17AFD /* dialer_padding_left.png in Resources */,
|
||||
D354944E160B615A0027E44E /* linphone_splashscreen@2x.png in Resources */,
|
||||
D38F46F2160C5CC8002D4C4A /* linphone_splashscreen-568h@2x.png in Resources */,
|
||||
F0C1F8EB1A277ADA009402C9 /* LaunchScreen.xib in Resources */,
|
||||
D35E91EA160CA0BD0023116B /* field_background.9@2x.png in Resources */,
|
||||
D35E91EE160CA0C70023116B /* button_background_default.9@2x.png in Resources */,
|
||||
D35E91F0160CA0C70023116B /* button_background_over.9@2x.png in Resources */,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue