Questions tagged [photolibrary]
176 questions
0
votes
1 answer
UIImagePickerController crashes for UIImagePickerControllerSourceTypePhotoLibrary source type
Using UIImagePickerController started to give sigabrt crashes when UIImagePickerControllerSourceTypePhotoLibrary is selected as source type. Other source types works fine but I need PhotoLibrary as source type. What could be the reason?

Topsakal
- 447
- 5
- 11
0
votes
0 answers
Why do changes made to photos within the iOS simulator not persist?
I've recently been working with Apple's Photos framework, when I noticed that any changes made to PHAssets don't actually persist - the photo library kind of "glitches out" and a blank, grey space is left in the thumbnail view within my app.
Upon…

Jason
- 635
- 1
- 9
- 21
0
votes
1 answer
Swift error fatal error: unexpectedly found nil while unwrapping an Optional value
When i do "image = self.originalImageView.image!" in the following code. I'm getting a error signal " fatal error: unexpectedly found nil while unwrapping an Optional value". Can anyone please tell me how i can overcome this ?
func displayPhoto()
…
0
votes
2 answers
Getting last picture taken from users photo library returning two pictures
When using the following code, it gets my last picture, but it duplicates it. It always gets the last picture, but it returns in a pair:
UIImageView *imageView = (UIImageView *) [self.photoCollectionView viewWithTag:101];
PHFetchOptions…

Jteve Sobs
- 244
- 1
- 14
0
votes
3 answers
Get access to Photo Library using AVFoundation
I already know how using UIImagePickerController but I'm actually using AVFoundation in my project.
Should I use ImagePickerController's delegate even though I'm using AVFoundation or is there another way to do it?
For the record, the more…

durazno
- 559
- 2
- 7
- 25
0
votes
1 answer
How can the OS X Photos library be modified programatically?
The Media Library appears to be read only and I can't see any methods that would allow modification of the library. Is there an API or mechanism that I have missed?
The specific changes that I want to make are the creation of albums based on…

Joseph Lord
- 6,446
- 1
- 28
- 32
0
votes
0 answers
What's the NSPredicate syntax for limiting data?
What's the syntax for limiting data, in my case, the number of photos fetched from iPod's photo library?
Is it 'first' x objects, or something?
I have a lot of photos and I would like to limit them to a few.

Frederick C. Lee
- 9,019
- 17
- 64
- 105
0
votes
2 answers
it possible getting photo library content with phonegap
I would like getting the library photos of device for display them in my app gallery with Phonegap/cordova.
Is it possibile access without going through camera.getPicture?
I did think to use FileSystem API of phonegap but they aren't helping me.

Lorenzo Vitale
- 21
- 1
- 1
0
votes
1 answer
Insert photos in the photo library at runtime iphone sdk
I have a tableview with custom cells. The cell shows photos which I'm getting in the form of url from an xml which I'm loading in webviews. There might be any number of photos, but I'm showing only first three photos in normal cell view.
When user…

neha
- 6,327
- 12
- 46
- 78
0
votes
1 answer
How do I get photos from a PHAsset fetch?
I can't get actual photos via a metadata list of photos from a PHAsset fetch. Ultimately I want an array of photos.
Here's my code (with last minute casting to UIImage at the last line before return):
Here are some outputs:
(lldb) po…

Frederick C. Lee
- 9,019
- 17
- 64
- 105
0
votes
0 answers
UIImagePicker saving photos to multiple albums
Im am trying to capture images and save them to a custom album using UIImagePickerController.TMy problem is that the images are getting saved into the following albums
1) My custom album
2)Camera Roll
3) My Photo Stream
I am using the following…

humblePilgrim
- 1,818
- 4
- 25
- 47
0
votes
1 answer
Convert NSMutableData into NSURL for video in ios
In socket stream while receiving data, I am able to get NSMutableData into image and able to save in photos but not able to convert NSMutableData into video
for Image I'm doing
UIImage *imagess = [[UIImage…

Anoop
- 409
- 3
- 13
0
votes
1 answer
Name image before saving to photo library
I am building an app in which I want to name images before saving it to photo library. User will open camera take picture and will write some message on it and then will save it to photo library. Now when user select the picture I want to know what…

Amrendra Pratap Singh
- 661
- 5
- 17
0
votes
1 answer
ability to remember which camera roll photos should not be displayed when reopening app (ios)
In my application the user can display the camera roll photos and there is an option to not show/display a particular image next time. My question: is there any flag, EXIF or metadata info to let the application not display the flagged images when…

Bobj-C
- 5,276
- 9
- 47
- 83
0
votes
3 answers
How to go Back to Main View Controller form PhotoLibrary IOS7
Hi I'm Uploading image form my device to server in the the photo library if user click the cancel button it has to go back to the main view controller but its going to the image pick view please tell to how to go back to main view controller from…

user3349668
- 147
- 2
- 11