Questions tagged [photolibrary]
176 questions
1
vote
0 answers
Why i am forced to use NSPhotoLibraryUsageDescription in iOS10?
I have an application which does work mainly with map, it also uses Realm to work with data and few more of small libs. Until i was compiling for iOS9 everything was fine, then i upgraded xcode, now i am compiling for iOS10.
Since then, when i tried…

luky
- 2,263
- 3
- 22
- 40
1
vote
3 answers
Present ImagePickerView causing crash
Here is my code, a simple class with a view created in storyboard that contains a button to present the imagePickerView. The imagePickerView gets presented and then the app crashes with libc++abi.dylib: terminating with uncaught exception of type…

MikeG
- 3,745
- 1
- 29
- 51
1
vote
1 answer
Obj-C: Read URL of Video in Photo Library
Is there a way to get the URLs of videos that are included in the Photos library?
I want to compare them to a table view list, then pick and play that video.

John Z
- 125
- 1
- 13
1
vote
2 answers
PhAsset get fileSize iOS
Is there any way to get a file size from PHAsset object apart from the below API
- (PHImageRequestID)requestImageDataForAsset:(PHAsset *)asset options:(nullable PHImageRequestOptions *)options resultHandler:(void(^)(NSData *__nullable imageData,…

Ekra
- 3,241
- 10
- 41
- 61
1
vote
0 answers
iOS 8 ALAsset setImageData doesn't delete image
I am working on iOS 8 Photo Library application. I want to delete image from photo library using ALAsset setImageData to nil. But method is not working. Please help me out.

Muhammad Bilal
- 11
- 1
1
vote
0 answers
Upload a video to Dropbox without compressing it
I have successfully uploaded a video to Dropbox from the photo library, Whoever the video gets uploaded in a compressed format, when I would like it be be uploaded as is. How would I go about this inside this method or a new one? Here is my…

Monika
- 11
- 6
1
vote
0 answers
Unable to get location while loading all photo from photolibrary using ALAsserLibrary
I would like to load all photos from Photolibrary with their timestamp and location.
I am using this code to achieve this:
CLLocation *location = [asset valueForProperty:ALAssetPropertyLocation];// Get location here
NSDate *timeStamp = [asset…

Bhumeshwer katre
- 4,671
- 2
- 19
- 29
1
vote
1 answer
How do I know an NSURL of ALAsset in assets library exists?
If I kept a url of a photo image in the Photo Library (ALAsset) in my database for several days, how do I know this photo still exists in the Photo Library by it's NSURL?
I've tried this but it did not work:
// Have already obtained the asset object…

Xaree Lee
- 3,188
- 3
- 34
- 55
1
vote
0 answers
UIImagePickerView Custom UI for photo library
Is there a simpler, "more modern" way of coding a UIImagePickerView PhotoLibrary Custom UI in iOS 6? Or do we still need to do the whole scrollview with UIImageViews? Any help is greatly appreciated!

user2717015
- 11
- 2
1
vote
0 answers
asset library crashes application without any message in log
That's the log in organizer
ocesses
Name rpages recent_max [reason] (state)
MobileMail 1557 1557 [vm] (resume) (continuous)
…

George Dumitrascu
- 11
- 2
1
vote
1 answer
Show UIActionSheetUser if does not allow UIImagePickerController to access photo library
Is there a way to get notified when I want to show a UIImagePickerController but the user does not allow my app to access the photo library.
Or can I somehow get the information if the user said yes or no when they get presented the popup if they…

BObereder
- 1,046
- 1
- 13
- 29
1
vote
3 answers
how can I copy mp4 file from documents to photolibrary (in iPhone)?
I have a mp4 video in my application (at Document folder)! I want to copy or move it to Photolibrary...
how can I do that? please help me!

Younes Jafari
- 251
- 1
- 5
- 17
1
vote
1 answer
UIImagePicker and Camera in UITabBar popup for iPad
I wan't to include in my recent development a popup which shows a UITabBarcontroller with two tabs, one for the photolibrary and the second one for the camera. I don't want to use fullscreen for the camera, the popover will be something like 600x800…

Dietmar Schwarz Webers
- 625
- 7
- 23
1
vote
1 answer
Popover not showing iPad photo library
I am trying to write an app that will allow the user to select an image from the photo library on the iPad. I have done exactly as sources online say it should be done, however when I click the button only the arrow is showed on screen and nothing…

user1145581
- 1,017
- 4
- 13
- 18
1
vote
3 answers
save image in photo album when button click in iphone
in My Application there is one galary.
i dont know what to put in image(UIImage *image) part of the UIImageWriteToSavedPhotosAlbum Method and I wann save image in iphone photo album. I am using this code
- (void)savePhoto
{
…

Sam
- 431
- 7
- 23