ImageSource.FromStream to load Image from remote server not working on ios device but works on ios simulator and android devices

I use the following code in my xamarin forms project:

image.Source = ImageSource.FromStream(() => { return new MemoryStream(bytes); });

This loads the image on ios simulators and android devices but not on iphone.

ImageSource.FromStream to load Image from remote server not working on ios device but works on ios simulator and android devices
 
 
Q