iOS Question Default folder for Photo's

Stephenz43

Member
Licensed User
Longtime User
Greetings
I am downloading a image file using RDC and it works well. They currently download to File.DirDocuments... I would like to download the image into the default Photo folder but having a difficult time. What folder would anyone suggest directly downloading images into so the Photo app can be used..
Thanks
 

Stephenz43

Member
Licensed User
Longtime User
Thank you

Here is where I am :
For Each records() As Object In result.Rows

Dim data() As Byte =records(0)
Dim out As OutputStream
Dim Ini As InputStream
Ini.InitializeFromBytesArray(data,0,1)
Log(data.Length)

out=File.OpenOutput(File.DirDocuments,oFileName.Trim , False)
out.WriteBytes(data, 0, data.Length)

out.Close
phone.AddImageToAlbum(oFileName) <---------------------------------Throws error
Next

Trying to add the image to the album immediately after downloading the image file
 
Upvote 0

Stephenz43

Member
Licensed User
Longtime User
This is what I get but don't understand oFileName is the correct file name

"Expected: UIImage, object type: __NSCFString"
 
Upvote 0
Top