79236040

Date: 2024-11-29 06:39:34
Score: 1
Natty:
Report link

For this, you need to add the color in Info.plist.

<dict>
 <key>CFBundlePrimaryIcon</key>
 <dict>
     <key>NSAppIconActionTintColorName</key>
     <string>CustomTintColor</string>
     <key>NSAppIconComplementingColorNames</key>
     <array>
         <string>BackgroundGradientColor1</string>
         <string>BackgroundGradientColor2</string>
     </array>
</dict>

Apple Official Documentation: https://developer.apple.com/documentation/bundleresources/information-property-list/cfbundleicons/cfbundleprimaryicon/nsappiconcomplementingcolornames

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shankar