[
https://issues.apache.org/jira/browse/CB-13396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265900#comment-16265900
]
ASF GitHub Bot commented on CB-13396:
-------------------------------------
myrsk commented on issue #135: CB-13396: (ios) Fix image sizing on iPhone X
URL:
https://github.com/apache/cordova-plugin-splashscreen/pull/135#issuecomment-346981260
@Drewster727
Open up the file in /platforms/ios/[Your App
Name]/CDVLaunchScreen.storyboard (in any editor).
Go down to the constraints section.
Replace the following line
`<constraint firstItem="2ns-9I-Qjs" firstAttribute="bottom"
secondItem="xb3-aO-Qok" secondAttribute="top" id="L9l-pw-wXj"/>`
with
`<constraint firstItem="2ns-9I-Qjs" firstAttribute="bottom"
secondItem="Ze5-6b-2t3" secondAttribute="bottom" id="L9l-pw-wXj"/>`
Save and rebuild the app.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Splash screen images are resized incorrectly on iPhone X
> --------------------------------------------------------
>
> Key: CB-13396
> URL: https://issues.apache.org/jira/browse/CB-13396
> 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 image.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]