cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-13396) Splash screen images are resized incorrectly on iPhone X
Date Fri, 06 Oct 2017 15:17:00 GMT


ASF GitHub Bot commented on CB-13396:

Github user Lazza commented on the issue:
    Actually, the code of this plugin need not be changed. However, the `cordova-ios` template
needs a fix. I am using `cordova-ios@4.5.1` and I've added this to my `hooks/after_prepare/`
    NAME="$(find platforms/ios/ -name 'CDVLaunchScreen.storyboard')"
    sed -i '' 's_secondItem="xb3-aO-Qok" secondAttribute="top"_secondItem="Ze5-6b-2t3" secondAttribute="bottom"_g'
    Basically, there is a wrong constraint in `CDVLaunchScreen.storyboard`. If this is fixed,
nothing else needs to be changed.

> Splash screen images are resized incorrectly on iPhone X
> --------------------------------------------------------
>                 Key: CB-13396
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-splashscreen
>         Environment: iOS 11 / iPhone X
>            Reporter: Ken Mickles
>              Labels: splashscreen
> CDVSplashScreen-updateBounds doesn't take iOS11's new safeAreaInsets into account, causing
the image size to change when CDVLaunchScreen.storyboard transitions to the CDVSplashScreen

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message