[ 
https://issues.apache.org/jira/browse/CB-13411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16241251#comment-16241251
 ] 

Shashwat Tripathi edited comment on CB-13411 at 11/7/17 12:38 AM:
------------------------------------------------------------------

In iPhone X, when the application starts splash screen is showing white space 
at the bottom and then after few seconds splash screen stretches to full screen.

!screenshot-1.png!


was (Author: stripathix):
When the application starts splash screen is showing white space at the bottom 
and then after few seconds splash screen stretches to full screen.

!screenshot-1.png!

> The launch screen storyboard (splash screen) has a white safe area on the 
> bottom ONLY on iPhone X, iOS 11
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CB-13411
>                 URL: https://issues.apache.org/jira/browse/CB-13411
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>    Affects Versions: cordova-ios 4.5.0
>         Environment: {{cordova-ios}} 4.5.0 or 4.5.1 and 
> {{cordova-plugin-splashscreen}}
>            Reporter: Andrea Lazzarotto
>            Assignee: Suraj Pindoria
>            Priority: Minor
>              Labels: easyfix
>         Attachments: screenshot-1.png
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> The splash screen used by {{cordova-plugin-splashscreen}} uses the 
> {{CDVLaunchScreen.storyboard}} file from {{cordova-ios}}. On the iPhone X 
> emulator with iOS11, this shows a white "safe area inset" *only on the bottom 
> margin* (not on the top).
> The splash screen should be immersive both on top and on the bottom, 
> therefore the storyboard should be fixed. I use this simple replacement in a 
> hook to patch {{cordova-ios}} after {{cordova prepare}}:
> {code}
> NAME="$(find platforms/ios/ -name 'CDVLaunchScreen.storyboard')"
> sed -i '' 's_secondItem="xb3-aO-Qok" 
> secondAttribute="top"_secondItem="Ze5-6b-2t3" secondAttribute="bottom"_g' 
> "$NAME"
> {code}
> Basically one constraint on the storyboard needs to be updated. It should be 
> trivial to fix.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to