I just answer the same question! And then I'll find out!
There is nothing wrong with your code or setup
This is about your IMAGE
You can just watch the applications on your phone (almost). Gray tab bar item icons.
So, the icon will just display their UN Hollow in gray !!
[In addition, according to the official API, they wrote like this:
By default, unselected and selected images are automatically created from alpha values in the original images . To prevent the system from coloring, create images using UIImageRenderingModeAlwaysOriginal .
]
Therefore, the solution: USE Sketch to make your icon instance heart part empty
source share