Skip to content
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

fix(splashscreen): positioning after rotation #1315

Merged
merged 1 commit into from
Apr 24, 2023

Conversation

dpogue
Copy link
Member

@dpogue dpogue commented Apr 20, 2023

Platforms affected

ios

Motivation and Context

Closes #1231.

Description

Add constraints to the splashscreen view so that it keeps the aspect ratio and positioning when the device is rotated.

@goffioul This is mostly the code that you proposed, do you want to be credited on the commit for this?

Testing

Tested on an iOS Simulator.

Checklist

  • I've run the tests to see all new and existing tests pass
  • If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)

@dpogue dpogue added this to the 7.0.0 milestone Apr 20, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #1315 (642ce20) into master (3d6c71a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1315   +/-   ##
=======================================
  Coverage   78.48%   78.48%           
=======================================
  Files          15       15           
  Lines        1780     1780           
=======================================
  Hits         1397     1397           
  Misses        383      383           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@erisu erisu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@erisu erisu changed the title fix(splash): Fix splashscreen positioning after rotation fix(splashscreen): positioning after rotation Apr 20, 2023
@goffioul
Copy link
Contributor

@dpogue You created this PR, but I would indeed appreciate partial credit. Thanks for asking.

@erisu erisu merged commit 1a5cd45 into apache:master Apr 24, 2023
@dpogue dpogue linked an issue Jun 7, 2023 that may be closed by this pull request
3 tasks
@dpogue dpogue deleted the splash-rotate branch March 8, 2024 18:11
breautek added a commit to totalpaveinc/cordova-ios that referenced this pull request Apr 5, 2024
jessyefuster pushed a commit to jessyefuster/cordova-ios that referenced this pull request Apr 30, 2024
Revert "fix(splashscreen): positioning after rotation (apache#1315)"
This reverts commit 1a5cd45.
jessyefuster added a commit to jessyefuster/cordova-ios that referenced this pull request Apr 30, 2024
Revert "fix(splashscreen): positioning after rotation (apache#1315)"
This reverts commit 1a5cd45.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants