Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

Added iOS storyboard support, including --use-storyboard-singular=true #57

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

john-doherty
Copy link

  • Merged previous iOS storyboard support, but disabled legacy image generation when in storyboard mode
  • Added --use-storyboard-singular=true switch to generate a singular storyboard image which reduces the overall app size
  • Updated README to reflect changes

adrianvoica and others added 4 commits April 9, 2018 21:25
Added  support for the new images required for Storyboard mode (required for iPad Pro, iPhone X). 
Usage: cordova-splash --use-storyboard=true
@luxio
Copy link

luxio commented May 15, 2018

Do I have to add any settings to config.xml to use the iOS storyboard?

@catalsdevelop
Copy link

catalsdevelop commented Jun 7, 2018

@AlexDisler when merge this to master branch?

@ISNIT0
Copy link

ISNIT0 commented Nov 2, 2018

👍

@john-doherty
Copy link
Author

john-doherty commented Mar 21, 2019

It would be great to get this merged. I can see there is a conflict but I am unable to resolve it as I don't have write access... Anyone needing this version can install via:

npm install -g john-doherty/cordova-splash

@daffinm
Copy link

daffinm commented May 9, 2019

Hi @john-doherty. Thanks for this. I have installed your version and it works nicely. But the images generated in Images.xcassets/LaunchStoryboard.imageset seem to be ignored. The images in Images.xcassets/LaunchImage.launchimage are used instead. And in Xcode I see the following warning:

"The image set "LaunchStoryboard" has an unassigned child."

This turns out to be the generated Default@2x~universal~anyany.png (--use-storyboard-singular=true).

So it seems to me that there must be more to getting this to work than I expected. The Contents.json file seems to need updating. And I am not sure what to do in order to fully replace legacy launch images with the storyboard image(s). When I tried simply deleting Images.xcassets/LaunchImage.launchimage the Cordova/Xcode build failed.

Thoughts?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants