-
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.
Fix SplashScreen issues & refactor BackgroundColor
* Set the background colour as an xcasset color set * Fix SplashScreen images not rendering Trying to take a snapshot of the view doesn't seem to result in the image actually being present in the snapshot, but we can just render the view itself from the storyboard file. However, we do need to make sure that we don't allow the view to grow in size, otherwise it will expand to the size of the image instead of remaining the size of the screen bounds.
- Loading branch information
Showing
19 changed files
with
259 additions
and
163 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
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
15 changes: 15 additions & 0 deletions
15
...templates/project/__PROJECT_NAME__/Images.xcassets/BackgroundColor.colorset/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,15 @@ | ||
{ | ||
"colors" : [ | ||
{ | ||
"color" : { | ||
"platform" : "ios", | ||
"reference" : "systemBackgroundColor" | ||
}, | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
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
15 changes: 15 additions & 0 deletions
15
.../fixtures/ios-config-xml/SampleApp/Images.xcassets/BackgroundColor.colorset/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,15 @@ | ||
{ | ||
"colors" : [ | ||
{ | ||
"color" : { | ||
"platform" : "ios", | ||
"reference" : "systemBackgroundColor" | ||
}, | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
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 |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} | ||
} |
156 changes: 0 additions & 156 deletions
156
...t/fixtures/ios-config-xml/SampleApp/Images.xcassets/LaunchImage.launchimage/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-33.4 KB
...ml/SampleApp/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png
Binary file not shown.
Binary file removed
BIN
-56.2 KB
...s-config-xml/SampleApp/Images.xcassets/LaunchImage.launchimage/Default-667h.png
Binary file not shown.
Binary file removed
BIN
-79 KB
...s-config-xml/SampleApp/Images.xcassets/LaunchImage.launchimage/Default-736h.png
Binary file not shown.
Binary file removed
BIN
-77.6 KB
...ml/SampleApp/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png
Binary file not shown.
Binary file removed
BIN
-207 KB
...SampleApp/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png
Binary file not shown.
Binary file removed
BIN
-89.7 KB
...ml/SampleApp/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png
Binary file not shown.
Binary file removed
BIN
-208 KB
.../SampleApp/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png
Binary file not shown.
Binary file removed
BIN
-89.6 KB
...xml/SampleApp/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png
Binary file not shown.
Binary file removed
BIN
-28.8 KB
...fig-xml/SampleApp/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png
Binary file not shown.
Binary file removed
BIN
-10.2 KB
...config-xml/SampleApp/Images.xcassets/LaunchImage.launchimage/Default~iphone.png
Binary file not shown.
Oops, something went wrong.