From f17e8259e16fd77458774d8d2ff807fc7064df6f Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Thu, 27 Nov 2014 16:37:33 +0100 Subject: [PATCH] Use a launch screen to disable scaling on iPhone 6. This is not yet optimal because the iPad landscape launch screen is stretched. --- Classes/LaunchScreen.xib | 33 ++++++++++++++++++++++++++++++ linphone-Info.plist | 2 ++ linphone.xcodeproj/project.pbxproj | 4 ++++ 3 files changed, 39 insertions(+) create mode 100644 Classes/LaunchScreen.xib diff --git a/Classes/LaunchScreen.xib b/Classes/LaunchScreen.xib new file mode 100644 index 000000000..b860c2b26 --- /dev/null +++ b/Classes/LaunchScreen.xib @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/linphone-Info.plist b/linphone-Info.plist index 2f7284c5b..3b0579398 100644 --- a/linphone-Info.plist +++ b/linphone-Info.plist @@ -115,6 +115,8 @@ linphone_splashscreen UILaunchImageFile~iphone linphone_splashscreen + UILaunchStoryboardName + LaunchScreen UIMainStoryboardFile MainStoryboard UIRequiredDeviceCapabilities diff --git a/linphone.xcodeproj/project.pbxproj b/linphone.xcodeproj/project.pbxproj index 8062067e0..b5b63f4c7 100755 --- a/linphone.xcodeproj/project.pbxproj +++ b/linphone.xcodeproj/project.pbxproj @@ -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 = ""; }; F84015BC1939FE37006ABAB5 /* test_failed.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = test_failed.png; path = Resources/test_failed.png; sourceTree = ""; }; F84015BD1939FE37006ABAB5 /* test_inprogress.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = test_inprogress.png; path = Resources/test_inprogress.png; sourceTree = ""; }; F84015BE1939FE37006ABAB5 /* test_passed.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = test_passed.png; path = Resources/test_passed.png; sourceTree = ""; }; @@ -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 */,