Skip to content
Fabien Molinet edited this page Dec 17, 2015 · 12 revisions

Source

On iOS images can be loaded from Internet or File.

Internet

Or from an URL. In this case the image is cached (by default 30 days but there is an optional TimeSpan so you can choose yours).

ImageService.LoadUrl(urlToImage).Into(_imageView);

File

when you want to load the image from a file or application bundle:

ImageService.LoadFile(fullPathToImage).Into(_imageView);

Remark: on iOS both ImageService.LoadFileFromApplicationBundle and ImageService.CompiledResource have the same effect as ImageService.LoadFile.