how to use media.PhotoLibrary

How does one use the media.PhotoLibrary? I’d like to access the photos on the iPhone [import]uid: 10903 topic_id: 4789 reply_id: 304789[/import]

Don’t have access to my corona machine at the moment but something like this I think…

[blockcode]

local onComplete = function(event)
local photo = event.target

– now you have the image from the photo library…

end

media.show( media.PhotoLibrary, onComplete )

[/blockcode]

See here : http://developer.anscamobile.com/reference/index/mediashow [import]uid: 9371 topic_id: 4789 reply_id: 15329[/import]

Thanks. I figured that out, and that to use the photos though it turns out that you basically have to take a screen shot of the photo http://developer.anscamobile.com/reference/index/displaysave

[import]uid: 10903 topic_id: 4789 reply_id: 15330[/import]