xamarin / xamarin-forms-book-samples

Code samples for "Creating Mobile Apps with Xamarin.Forms"
Apache License 2.0
725 stars 565 forks source link

Chapter 13: Resource folder vs Asset Catalog #42

Open dshontz opened 6 years ago

dshontz commented 6 years ago

I'm working through the exercises in the book by creating my own Visual Studio solution and either copying/pasting code or linking projects. The Platform-Specific bitmaps code is not working for me for my iPhone, I think because on iOS it is looking for the icons in the Resources folder. And that's where they are in the PlatformSpecificBitmaps solution. But when I create a new Mobile cross platform project, the icons appear to be in an Asset Catalog. I could just copy them into Resources to make the code work, but I am wondering if the project structure has changed. Do you cover how to get icons from asset catalogs in iOS?

Thanks, assets catalog in ios project