Questions tagged [assetslibrary]

An instance of ALAssetsLibrary represents the videos and photos that are under the control of the Photos application.

The library includes those that are in the saved photos album, those coming from iTunes and those that were directly imported into the device. You use it to retrieve the list of all asset groups and to save images and videos into the Saved Photos album.

76 questions
0
votes
1 answer

Unable to access all photos in my app when "Optimize iphone storage" feature is ON

Reported bug for my app : When "Optimise iphone storage" feature is ON in iPhone, all photos are not accessible within my app, only full resolution ones are accesible. How can I test this as "Optimise iphone storage" works only when iPhone is low on…
0
votes
1 answer

AssetsLibrary and ImageView -setImage Slowness

So this one is pretty odd ad I'm not sure if the trouble is with the AssetsLibrary API, but I can't figure out what else might be happening. I am loading an array with ALAssets using the -enumerateAssetsUsingBlock method on ALAssetsGroup. When it…
Matt Long
  • 24,438
  • 4
  • 73
  • 99
0
votes
0 answers

Everytime same video gets uploaded + Assets Library

ImgVidData =[[NSData alloc]init]; ALAssetRepresentation *representation = alAsset.defaultRepresentation; NSURL *movieURL = representation.url; NSURL *uploadURL = [NSURL fileURLWithPath:[[NSTemporaryDirectory()…
prateek sharma
  • 175
  • 1
  • 16
0
votes
1 answer

When can I use Photos Framework and iCloud Photo Library?

I want to provide my users a photo picker which displays all their images similarly to the Photos app. Currently I can use two frameworks, the old Assets Library and the new Photos Library frameworks. Is there any recommendation how should I choose…
gklka
  • 2,459
  • 1
  • 26
  • 53
0
votes
0 answers

How can I save a Image in my Photos in iOS

I want to get an image from a UIView, when users , taps the save button, and then the image should be save in the photos album How Can I Do that , is there any Method in UIImage or CGImage , that allow us to load an image from a UIView ?
0
votes
2 answers

Get all Images from iphone image library and show in UICollectionView

I want to show all the images from iphone image library to UICollectionView but after finished getAllPictures method, allPhotosCollected: method is not calling and images is not showing into UICollectionView - (void)viewDidLoad { [super…
Kishore Suthar
  • 2,943
  • 4
  • 26
  • 44
0
votes
1 answer

saving image to custom photo album in iOS7

I'm trying to save a photo taken with the camera to a custom photo album in iOS7. my code looks like this: ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init]; __block ALAssetsGroup* folder; [library…
suMi
  • 1,536
  • 1
  • 17
  • 30
0
votes
0 answers

Accessing the ALAssetsGroup information for an ALAsset object

It's common to enumerate the ALAssetsGroup to get the ALAsset objects, like this way: [assetGroup enumerateAssetsUsingBlock:^(ALAsset *result, NSUInteger index, BOOL *stop) { NSLog(@"%@",result); }]; But I have a special use case,…
Hang
  • 469
  • 1
  • 4
  • 18
0
votes
2 answers

Find the list of photos inside a device

For a little program that i'm developing, i need to find the list of images and photos inside the device, in this case iPhone Simulator (i saved some images taken from internet). I now that in Android is present the "Cursor" inside the…
Hieicker
  • 595
  • 1
  • 11
  • 29
0
votes
2 answers

How to find size of images inside PhotoLibrary in iOS

I need to find total size of all images inside photo library in iPhone. I have using Assets Library framework and successfully find number of images. However images are of smaller size and converting them into MB giving me wrong result. Below is the…
user741076
  • 63
  • 1
  • 3
  • 9
0
votes
1 answer

Framework not found AssetsLibrary in xcode 4.5

I am using Xcode 4.5 for developing iPhone application.I need to add 'AssetsLibrary.framework' into my project.But I can't see the framework in 'build phases' of my target.Please go through the following image then you can easily understand my…
IKKA
  • 6,297
  • 7
  • 50
  • 88
0
votes
1 answer

Add an NSDictionary to image metadata

I'm trying to save an image with some custom metadata to a Photo Album. The custom metadata I would like to save should be in the form of a NSDictionary. Until now I have only succeeded in inserting an NSArray into the image metadata by using…
Glauco
  • 495
  • 1
  • 7
  • 17
0
votes
2 answers

Leaked Objects: ALasset and ALAssetPrivate

I am using Profile to find any memory leaks. I found 2 interesting leaks, which i can't understand: Leaked Object | Responsible Library | Responsible Frame ALAsset AssetsLibrary [ALAssetsGroup…
B.S.
  • 21,660
  • 14
  • 87
  • 109
0
votes
1 answer

How to solve the errror "image not found"?

I am working on universal project(iPhone/iPad), in which the code that I used is same on iphone and ipad. The code is working well in iphone and not working in iPad. It returns the following error. dyld: Library not loaded:…
iPhone_suren
  • 181
  • 1
  • 3
  • 13
0
votes
1 answer

Disappearing Thumbnails

In my application I've noticed the images I'm saving are begin written to a photo album and display properly in the Photos application. However, when I removed the image from which the new image was copied, the new image's thumbnail disappears. …
Bradley M Handy
  • 603
  • 6
  • 15