¡@

Home 

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

iphone Programming Glossary: alassetpropertytype

To Get all Images from Photo Library in iphone

http://stackoverflow.com/questions/11372789/to-get-all-images-from-photo-library-in-iphone

ALAsset NSUInteger BOOL ^ ALAsset result NSUInteger index BOOL stop if result nil if result valueForProperty ALAssetPropertyType isEqualToString ALAssetTypePhoto assetURLDictionaries addObject result valueForProperty ALAssetPropertyURLs NSLog @ result.. ALAsset NSUInteger BOOL ^ ALAsset result NSUInteger index BOOL stop if result nil if result valueForProperty ALAssetPropertyType isEqualToString ALAssetTypePhoto assetURLDictionaries addObject result valueForProperty ALAssetPropertyURLs NSLog @ result.. workingDictionary NSMutableDictionary alloc init workingDictionary setObject asset valueForProperty ALAssetPropertyType forKey @ UIImagePickerControllerMediaType workingDictionary setObject UIImage imageWithCGImage asset defaultRepresentation..

Get all of the pictures from an iPhone photoLibrary in an array using AssetsLibrary framework?

http://stackoverflow.com/questions/12633843/get-all-of-the-pictures-from-an-iphone-photolibrary-in-an-array-using-assetslibr

ALAsset NSUInteger BOOL ^ ALAsset result NSUInteger index BOOL stop if result nil if result valueForProperty ALAssetPropertyType isEqualToString ALAssetTypePhoto assetURLDictionaries addObject result valueForProperty ALAssetPropertyURLs NSURL url NSURL..

how to detect (iphone sdk) if a video file was recorded in portrait orientation, or landscape

http://stackoverflow.com/questions/4627940/how-to-detect-iphone-sdk-if-a-video-file-was-recorded-in-portrait-orientation

mode. In the following code asset is an AlAsset and I have tested to see if it is a video asset asset valueForProperty ALAssetPropertyType is AlAssetTypeVideo then int orientation asset valueForProperty ALAssetPropertyOrientation intValue In this case orientation..

Adding a UIActivityIndicator to a modal view (ELCimagepicker)

http://stackoverflow.com/questions/6160847/adding-a-uiactivityindicator-to-a-modal-view-elcimagepicker

workingDictionary NSMutableDictionary alloc init workingDictionary setObject asset valueForProperty ALAssetPropertyType forKey @ UIImagePickerControllerMediaType workingDictionary setObject UIImage imageWithCGImage asset defaultRepresentation..

iPhone Get UIImagePickerController Lat/Lng

http://stackoverflow.com/questions/6177606/iphone-get-uiimagepickercontroller-lat-lng

and location data... And of course you can also get other information about the image with this method by using keys ALAssetPropertyType ALAssetPropertyLocation ALAssetPropertyDuration ALAssetPropertyOrientation ALAssetPropertyDate ALAssetPropertyRepresentations..