How to change application icon in Xamarin.Forms?

前端 未结 8 2123
日久生厌
日久生厌 2020-12-14 06:28

I replaced all the images everywhere (by this I mean in drawable folders and all Windows Assets folders and iOS Resources folder), but it still shows me the default Xamarin

8条回答
  •  忘掉有多难
    2020-12-14 06:51

    For iOS in visual studio...

    Step1: Generate all the app icons from https://appicon.co/

    Step2: In solution explorer, under iOS project, expand 'Asset Catalogs' and double click on 'Assests'. You can change the existing 'AppIcon' icons or Add a new Asset and attach the icons.

    This is how you add a new asset...

    Step3: In solution explorer, under iOS project, double click on Info.plist. Go to 'Visual Assets' tab, click on 'App Icons' and change the 'Source' to the asset that you just created.

    Done.

    Hope this helps someone!

提交回复
热议问题