Questions tagged [photolibrary]

176 questions
5
votes
2 answers

how to overlay an image over an image in xcode?

I am trying to make an app where the user can select an image out of their image library that will be used as background, followed by their logo that they can also choose from their (photo) library... For now i haven't found a tutorial that can help…
Jenoah Kers
  • 157
  • 2
  • 2
  • 7
5
votes
1 answer

UIImagePickerController modular replacement

I am looking for a replace to UIImagePickerController that allows custom extensibility for local pictures, public API's like Facebook/Flickr/Tumblr/Picasa/SmugMug, and custom proprietary picture collections (local or abroad). Solutions I have found…
Stickley
  • 4,561
  • 3
  • 30
  • 29
4
votes
3 answers

How can I retrieve an image which is saved in the photolibrary of an android system?

I'm trying to acces the photolibrary of an android system to retrieve an image. I have the imageURI variable provided by the navigator.camera.getPicture function. That's ok until then. But later, I want to access the photolibrary and take the base64…
RutgerBlume
  • 69
  • 1
  • 8
4
votes
3 answers

The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data

I have added NSPhotoLibraryAddUsageDescription as well as NSPhotoLibraryUsageDescription in info.plist file of my project. While trying to create album or add image to photo library following error is coming This app has crashed because it attempted…
Afsar edrisy
  • 1,985
  • 12
  • 28
4
votes
1 answer

The operation couldn’t be completed. (Cocoa error -1.) - PHPhotoLibrary

Hi I am trying to save a downloaded mp4 file to my gallery. Downloading the url by using , downloadTask in func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo…
Vineesh TP
  • 7,755
  • 12
  • 66
  • 130
4
votes
2 answers

ionic 3 photo library image not displayed on img tag

I followed the instruction on ionic doc here and Github doc here. Up to now I can retrieve all library item info. But I never succeed in displaying the photos on img tab. Here are my home.ts: import { Component } from '@angular/core'; import {…
Victoria
  • 71
  • 5
4
votes
2 answers

Save gif to iOS Photo Library in Swift

I'm traing to save a GIF image located in temp file already created with Regift code. Regift: https://github.com/matthewpalmer/Regift The thing is that after saving with PHPhotoLibrary the GIF become a still image. In other questions there's answers…
rjgodoy
  • 101
  • 4
  • 11
4
votes
1 answer

NSCocoaErrorDomain Code=-1 when deleting photos in user's photo library

Hi I'm playing with the new photos framework for ios 8.0. I'm trying to delete an array of photos and here is the code: NSArray *toDeletePhotos = [photos valueForKey:@"asset"]; [[PHPhotoLibrary sharedPhotoLibrary] performChanges:^{ …
naiyili
  • 51
  • 1
  • 5
4
votes
1 answer

How to save a large (60mb+) image to photo library?

I know the various ways to save a UIImage to the photo library: UIImageWriteToSavedPhotosAlbum ALAssetsLibrary However, my images are HUGE (60mb+), so bringing them into memory is not possible. I can download the images by streaming them to disk,…
pj4533
  • 1,701
  • 4
  • 17
  • 38
3
votes
1 answer

not able to retrieve the photos from photo library in ipad device

I am retrieving photos from the photo library using ELCImagePickerController. That works fine in the iPad simulator that shows photos from the photo library. But it does not work on iPad devices. That shows a failure error means there are no photos,…
Steve Gear
  • 757
  • 2
  • 16
  • 44
3
votes
1 answer

is this possible to change the choose button text in iphone photo album?

In my application i want to change the choose button text into done on iphone photo album...before that i want to know is there a possibility to do this...if possible means tell me how to achieve? anyone please give me a solution for this... Thank…
kanmani
  • 671
  • 1
  • 10
  • 28
3
votes
1 answer

Get Lat. Lon from iPhone photo library photos

How can i get access to the users iPhone photo library and get the lat, lon information for those photos? Thanks
mons0160
  • 49
  • 5
3
votes
1 answer

Recording video to specific album

I am creating an album in the users photo library, now I want to save a video there. I am saving the video to a file using: let documentsURL = NSFileManager.defaultManager().URLsForDirectory(.DocumentDirectory, inDomains: .UserDomainMask)[0] let…
ZiEiTiA
  • 275
  • 2
  • 16
3
votes
1 answer

UIImagePickerController is not asking for permission on first use too

I tried setting CFBundleDisplayName and Privacy - Photo Library Usage Description but still not working But in the settings it has permission on/off I tried uninstalling the app and installing again but it never asks permission if it is off it…
Durai Amuthan.H
  • 31,670
  • 10
  • 160
  • 241
3
votes
2 answers

UIImagePickerControllerCameraCaptureModePhoto not working in IOS 7

In IOS6 I am using following method to get photo from I Pad photo Library.But now its not working for IOS7 UIImagePickerController* picker = [[UIImagePickerController alloc] init]; picker.sourceType =…
Shinning River
  • 813
  • 1
  • 10
  • 23
1
2
3
11 12