-
Notifications
You must be signed in to change notification settings - Fork 669
ionic resources should generate iPhone X splash screens #2904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@matthewlloyd I'm not seeing this on the iPhone X simulator. I believe it uses This is likely related to this issue: ionic-team/ionic-v1#331 Have you tried |
Yes, I'm seeing this with cordova-ios 4.5.4. Note that the latest cordova-ios iOS project template expects the 2436h files to exist: and that cordova does not generate the relevant .png files, the ionic CLI should do so. |
The resources generator generates a launch image that is used for iPhone X and iPad Pro resolutions. The |
Steps to reproduce:
Package versions:
|
Since you have prematurely closed this issue, I will create another. |
I think contributors should reopen this issue and generate Default-2436h.png & Default-Landscape-2436h.png image assets because the universal splash asset doesn't display nicely on iPhone6 that are running iOS 11. The aspect ratio is maintained but I have my logo so big right in the center that it feels like right-in-the-face for my users. Generating the required asset will have the splash asset in the proper dimensions. |
Just an update on this issue. To fix my issue with the big splash image, I had to comment out the universay-anyany splash entry in config.xml to prevent my test iPhone6 running iOS 11 to use the universal splash image. Then I manually create a Default-2436h.png splash image and included it in config.xml since ionic resource generator does not provide it. |
I don't have the impression that Ionic is useful for professional apps. |
Uh oh!
There was an error while loading. Please reload this page.
The following two lines need to be added to packages/ationic/cli-utils/lib/cordova/resources.js in RESOURCES.ios.splash.images to generate the splash screen images for iPhone X. Otherwise, a white bar appears at the bottom of the screen underneath the splash screen on app launch.
The text was updated successfully, but these errors were encountered: