I am using xamarin.forms for android and iOS apps. Here I am able to save the images and documents by creating a personal folder for the applications. But the requirement is after the image/ document is downloaded it should open automatically without going to that folder manually. How to do that for android and iOS.

Saving image/Documents 
for android:

```
  byte[] respuesta = Android.Util.Base64.Decode(fileBytes, Android.Util.Base64.Default);

                System.IO.File.WriteAllBytes(fileFullPath, respuesta);   

```

in iOS:

```
if (extension.ToLower() == ".pdf")
            {

                byte[] encodedDataAsBytes = DecodeUrlBase64(DataString);

                string documentsPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal);

                string finalPath = Path.Combine(documentsPath, Path.GetFileName(fileFullPath));

                File.WriteAllBytes(finalPath, encodedDataAsBytes);
            }

            if(extension.ToLower() == ".png" || extension.ToLower() == ".jpg" || extension.ToLower() == ".jpeg" || extension.ToLower() == ".gif")
            {
                byte[] encodedDataAsBytes = System.Convert.FromBase64String(DataString);

                NSData data = NSData.FromArray(encodedDataAsBytes);

                var someImage= UIImage.LoadFromData(data);

                someImage.SaveToPhotosAlbum((image, error) =>
                {
                    var o = image as UIImage;
                    Console.WriteLine("error: " + error);
                });
            }

```