-
Notifications
You must be signed in to change notification settings - Fork 991
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#4662] Enable iPad support for the Status app.
Use a screen-size independent launch image (a storyboard). See more at: https://oleb.net/blog/2014/08/replacing-launch-images-with-storyboards/ Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
- Loading branch information
Showing
15 changed files
with
77 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 0 additions & 75 deletions
75
ios/StatusIm/Images.xcassets/LaunchImage.launchimage/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-29.5 KB
ios/StatusIm/Images.xcassets/LaunchImage.launchimage/LaunchScreen-1.png
Binary file not shown.
Binary file removed
BIN
-29.5 KB
ios/StatusIm/Images.xcassets/LaunchImage.launchimage/LaunchScreen-2.png
Binary file not shown.
Binary file removed
BIN
-79.4 KB
ios/StatusIm/Images.xcassets/LaunchImage.launchimage/LaunchScreen1125x2436.png
Binary file not shown.
Binary file removed
BIN
-79 KB
ios/StatusIm/Images.xcassets/LaunchImage.launchimage/LaunchScreen1242x2208.png
Binary file not shown.
Binary file removed
BIN
-37.4 KB
ios/StatusIm/Images.xcassets/LaunchImage.launchimage/LaunchScreen750x1334-1.png
Binary file not shown.
Binary file removed
BIN
-25.1 KB
ios/StatusIm/Images.xcassets/LaunchImage.launchimage/LaunchScreen_640_960-1.png
Binary file not shown.
Binary file removed
BIN
-25.1 KB
ios/StatusIm/Images.xcassets/LaunchImage.launchimage/LaunchScreen_640_960.png
Binary file not shown.
23 changes: 23 additions & 0 deletions
23
ios/StatusIm/Images.xcassets/launch_image.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "universal", | ||
"filename" : "launch_image.png", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"filename" : "launch_image@2x.png", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"filename" : "launch_image@3x.png", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+24.8 KB
ios/StatusIm/Images.xcassets/launch_image.imageset/launch_image@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+41.6 KB
ios/StatusIm/Images.xcassets/launch_image.imageset/launch_image@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="Lsa-QA-3zn"> | ||
<device id="retina4_7" orientation="portrait"> | ||
<adaptation id="fullscreen"/> | ||
</device> | ||
<dependencies> | ||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/> | ||
<capability name="Safe area layout guides" minToolsVersion="9.0"/> | ||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | ||
</dependencies> | ||
<scenes> | ||
<!--View Controller--> | ||
<scene sceneID="aL5-4D-Ur8"> | ||
<objects> | ||
<viewController id="Lsa-QA-3zn" sceneMemberID="viewController"> | ||
<view key="view" contentMode="scaleToFill" id="0g6-xG-Wkj"> | ||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
<subviews> | ||
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="launch_image" translatesAutoresizingMaskIntoConstraints="NO" id="cqW-9w-FC0"> | ||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/> | ||
</imageView> | ||
</subviews> | ||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
<viewLayoutGuide key="safeArea" id="2aN-f8-qiu"/> | ||
</view> | ||
</viewController> | ||
<placeholder placeholderIdentifier="IBFirstResponder" id="hOp-FG-FML" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
</objects> | ||
<point key="canvasLocation" x="-46" y="-243"/> | ||
</scene> | ||
</scenes> | ||
<resources> | ||
<image name="launch_image" width="164" height="169"/> | ||
</resources> | ||
</document> |