Created
August 26, 2019 13:40
-
-
Save joaomarcos96/327e322ad11340afce3fbda6edb4bd91 to your computer and use it in GitHub Desktop.
Xamarin iOS - Stream to UIImage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using (var imageData = NSData.FromStream(myStream)) | |
using (var image = UIImage.LoadFromData(imageData)) | |
{ | |
myUiImageView.Image = image; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment