[Shell] - TabBar Tab icon

Hikari91Hikari91 ITMember ✭✭✭
edited July 25 in Xamarin.Forms

Hi,
I'm starting a new development of a XF application and I would like to use the shells.

I have created a TabBar with some Tab, but the icon on iOS isn't showed.

I have used the property Icon in the Tab tag, and I have added the images inside the Asset Catalogs in my iOS project.

On Android all works fine.

What I'm doing wrong?

Answers

  • JoeMankeJoeManke USMember ✭✭✭✭✭

    Instead of Asset Catalogs, try putting your tab icons in the Resources folder and set the build action to BundleResource.

  • Hikari91Hikari91 ITMember ✭✭✭

    @JoeManke said:
    Instead of Asset Catalogs, try putting your tab icons in the Resources folder and set the build action to BundleResource.

    Hi,
    thank you, if I use the Resources folder it works, but I need to use the Asset Catalogs >,<

  • ColeXColeX Member, Xamarin Team Xamurai
    edited July 25

    Try again with placing the image into Resources folder. Clarify if the image file has been broken.

  • ColeXColeX Member, Xamarin Team Xamurai
    edited July 26

    https://forums.xamarin.com/discussion/comment/202109/#Comment_202109

    BTW , were you using the correct name of that image sets?

Sign In or Register to comment.