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

Adjust app icons to support HomeScreen tinting on iOS 18 #3680

Merged
merged 5 commits into from
Dec 9, 2024

Conversation

dus7
Copy link
Contributor

@dus7 dus7 commented Dec 5, 2024

Task/Issue URL: https://app.asana.com/0/1206226850447395/1208303061602073/f
Tech Design URL:
CC:

Description:

Moving app icons to assets in order to support iOS 18 tinting on Home Screen. There were a few issues, which look like a bug or inconsistency in iOS:

  1. It wasn't possible to load app icon asset as UIImage, thus I needed additional separate images for display on UI. I tried out Apple's sample project and it also failed to display app icons.
  2. I left updated icons definitions in Info.plist even though the functionality did work without them. It seems those values are included by compiler, but without having those predefined, the Alpha build app icon was used throughout Xcode UI.

I removed multiple variants for each AppIcon asset and left only a single image of 1024px size. Starting from Xcode 14 asset catalog can use this size to autogenerate all other required sizes.

Steps to test this PR:

  1. Run the app
  2. Test each icon color is displayed properly on Home Screen, task switcher, folder in app library
  3. Turn on tinted mode in Home Screen customization menu, verify icons are properly tinted
  4. Check if switching icon variants works on iPad.

Definition of Done (Internal Only):

Device Testing:

  • iPhone SE (1st Gen)
  • iPhone 8
  • iPhone X
  • iPhone 14 Pro
  • iPad

OS Testing:

  • iOS 15
  • iOS 16
  • iOS 18

Theme Testing:

  • Light theme
  • Dark theme

Internal references:

Software Engineering Expectations
Technical Design Template

@dus7 dus7 changed the title Mariusz/ios18 icons variants Add app icons to support HomeScreen tinting on iOS 18 Dec 5, 2024
@dus7 dus7 changed the title Add app icons to support HomeScreen tinting on iOS 18 Adjust app icons to support HomeScreen tinting on iOS 18 Dec 5, 2024
Copy link

github-actions bot commented Dec 5, 2024

Warnings
⚠️ PR has more than 500 lines of code changing. Consider splitting into smaller PRs if possible.

Generated by 🚫 dangerJS against 712687d

@dus7 dus7 force-pushed the mariusz/ios18-icons-variants branch from d46fa39 to 06433a2 Compare December 5, 2024 13:57
@dus7 dus7 marked this pull request as ready for review December 5, 2024 13:59
@dus7 dus7 requested a review from samsymons December 5, 2024 14:04
Copy link
Contributor

@samsymons samsymons left a comment

Choose a reason for hiding this comment

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

The changes as described look great to me, thanks Mariusz! I tested that each appearance on each supported version of iOS looks correct, and that the tinting on iOS 18 works as expected. The icon looks much better!

I'm worried that users won't like losing the option to choose a color when running in dark mode (I use 100% dark mode and I'll miss the purple icon), but let's see how that shakes out in the ship review. Assuming nothing changes there, this looks good.

Copy link
Contributor

@samsymons samsymons left a comment

Choose a reason for hiding this comment

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

New dark mode icons look great!

@dus7 dus7 merged commit 9527f74 into main Dec 9, 2024
14 checks passed
@dus7 dus7 deleted the mariusz/ios18-icons-variants branch December 9, 2024 15:22
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