Images on IOS real device are not showing up from the folder Resources

MohanadZahedMohanadZahed DEMember ✭✭
edited October 18 in Xamarin.Forms

I am testing my app from a pc on Mac. all my images are inside the Resources folder within the IOS project and everything is fine on the iPhone simulator, but when I test the app on a real iphone device, the images are not showing up.
when I tried to put the image inside the PCL as an embedded Resource it worked. So why the images are not shown from the Resources folder on the real device?

Best Answer

  • MohanadZahedMohanadZahed DEMember ✭✭
    Accepted Answer

    Stupid bug....
    I had to delete all images and re-paste them again...

Answers

  • seanydaseanyda GBMember ✭✭✭✭✭

    How are you referencing the images in code when doing it from the resources folder?

  • MohanadZahedMohanadZahed DEMember ✭✭
    edited October 18

    very normal,
    <Image source="myImage.png" />
    As I mentioned above. The problem only occurs on a real iphone device(I am testing on iphone 6). Everything works correrct on the iphone simulator on Mac.
    and it works perfect on android.

  • MohanadZahedMohanadZahed DEMember ✭✭
    Accepted Answer

    Stupid bug....
    I had to delete all images and re-paste them again...

Sign In or Register to comment.