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

feat: add ios background content mode #777

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

strysk
Copy link

@strysk strysk commented Feb 24, 2025

Currently, iOS Content Mode for LaunchBackground is always set to "Scale To Fill".
I think it would be nice to be able to set it to other content mode, so added "ios_background_content_mode" parameter.

@jonbhanson
Copy link
Owner

Thanks for the contribution, but I don't want to expand the background_image parameter. It generally causes confusion when people use it instead of using the image parameter. If anything, I would prefer PR's that resolve this confusion, and limit errors that happen such as when people use ios_content_mode without an image parameter, resulting in a black screen such as #775.

@strysk
Copy link
Author

strysk commented Mar 9, 2025

Thanks for your review!
I understand you prefer fixing errors of "ios_content_mode".

However, even if those errors are fixed, there is still no way to change content mode for background image?
That option will be useful for when you use same background image for iPhone and iPad, and you don't wanna change aspect ratio for the image to fit screens.

I found out this package has same option, and it would be nice for flutter_native_splash to have same useful option.
https://pub.dev/packages/splash_master

I would appreciate it if you could reconsider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants