¡@

Home 

2014/10/15 ¤U¤È 10:04:03

iphone Programming Glossary: assetarray

What is the correct way to import & save Photos from iPhone Album?

http://stackoverflow.com/questions/9973259/what-is-the-correct-way-to-import-save-photos-from-iphone-album

I am Importing Photos from the iPhone Album to the documents folder of my application. This is my code. for int j 0 j assetArray count j ALAsset assest assetArray objectAtIndex j CGImageRef imageRef assest.defaultRepresentation.fullResolutionImage UIImage.. Album to the documents folder of my application. This is my code. for int j 0 j assetArray count j ALAsset assest assetArray objectAtIndex j CGImageRef imageRef assest.defaultRepresentation.fullResolutionImage UIImage image UIImage imageWithCGImage.. works for videos. Your example code rewritten then would look like that reading out the orginal images for int j 0 j assetArray count j ALAssetRepresentation representation assetArray objectAtIndex j defaultRepresentation NSString filename documentPath..