Closed StackHelp closed 4 years ago
Are your images placed in the XCAssets catalog?
@Minitour Yes. Edited a question. Please check the tabbar
Oh it’s the second one... yeah this is because it automatically sets the image to have a tint color and because your image doesn’t have an alpha it colors all of it.
To fix this you have two options:
@Minitour the image is with alpha 100%. I don't understand the second option. First option works though
I’ll rephrase. You are correct the image has an alpha component, but the part of it which you wish to view is not transparent.
Either get rid of the rectangle surrounding the map pin, or get a rectangle with map in cut out of it.
I am trying to set different images in
TabBar
but just one image from them doesn't work.Every other image except
ic_tab_maps
works and shows inTabBar
. I have tried to check in your example as well but it doesn't work.