Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Image control not displaying in iOS emulator from remote source

$
0
0

Hello there,

I am new to xamarin development.
I have some experience with windows phone. Anyway, here goes the issue.

I need to display some images from the interwebz. According to the docs, using an ImageSource.FromUri automatically downloads the image, caches it according to some property we set and all should be happy and nice.

Well, it doesn't work on iOS emulator.
I tried...

a) setting the Uri source with FromUri.
b) downloading the stream, then use a FromStream source.

Nothing works. The emulator does;t display anything. I am short of inflicting damage on this iMac i work on.
Hard coding the image path with a local file appears to be the only way it works, but this is not an alternative.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>