Questions tagged [photolibrary]

176 questions
2
votes
2 answers

Swift fetchAssetsInAssetCollection: Loading Photos From Range in Camera Roll

I want the user to have the ability to access all of their photos, but loading them all at once takes too long using PHAsset.fetchAssetsInAssetCollection, especially if they have 500+ photos (I am displaying them in a collection view in a…
Kiley
  • 409
  • 1
  • 5
  • 19
2
votes
1 answer

Cordova Camera Plugin in IOS 9

I am using Cordova 5.3.3 and the Apache Camera Plugin 1.2.0 on IOS 9. I can succesfully take a picture with the camera however when I try to get a picture from photo library it goes back to camera and I get an error "has no access to assets" in the…
jimny
  • 103
  • 2
  • 10
2
votes
0 answers

UIImagePickerController delegate not called when sourceType is Photo Library

I have a problem where the delegate of UIImagePickerController not being called when presented with sourceType = UIImagePickerControllerSourceTypePhotoLibrary. Oddly enough, it works perfectly fine in camera mode. Interface declaration: @interface…
2
votes
0 answers

UIImagePickerController give black screen in accessing PhotoLibrary

I am just accessing the PhotoLibrary not even the camera. It gives a black screen like this. Here is the code: @IBAction func selectProfileImageBtnTapped(sender: UIButton) { let myImagePicker = UIImagePickerController() …
2
votes
1 answer

I want to know why UIImagePickerController's crop square has a slight offset, and how to fix it

When I pick an image from UIImagePicker with sourceType PhotoLibrary... that's a square... with allowsEditing flag set to true, the image by default sits ~18px down from where it should be Any ideas why and how I can fix it?
Troy Payne
  • 343
  • 2
  • 3
  • 9
2
votes
2 answers

Memory Warning on fetching images from device photo library

I have used following code to fetch images from photo library, resizing it before displaying it is receiving memory warnings. Also it gets terminated due to memory pressure. -(void)readImages:(int)getAlbumImages { imagesArray =…
user3085992
  • 163
  • 1
  • 11
2
votes
2 answers

How do i load an image from the IOS photo library to a UIWebView?

i have this code in my program but it seems to be crashing the program and i cant figure out why. - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info { //Get Image URL from Library …
X0r0N
  • 1,816
  • 6
  • 29
  • 50
2
votes
1 answer

Memory issue on Loading images from Photo Library and sort them datewise

I am fetching images from my photo library and according to assets's date property , I am arranging those images in a different folders . What I want to do is to fetch the image from photo library , store them according to date . e.g. if fetched…
iCoder
  • 1,298
  • 1
  • 9
  • 25
2
votes
3 answers

Error occuring when loading photolibrary images : ERROR: FigCreateCGImageFromJPEG returned -12910. 423114 bytes. We will fall back to software decode

I'm working with an application in which I'm loading images from photolibrary. I'm using the following code for binding the image to imageView. -(void)loadImage:(UIImageView *)imgView FileName:(NSString *)fileName { typedef void…
Midhun MP
  • 103,496
  • 31
  • 153
  • 200
2
votes
1 answer

Not calling UIImagePickerControl's methods by using AVCaptureSession in iPhone

I have used AVCaptureSession for capture photo in iPhone application. As well as I want to take an image from PhotosLibrary too. I've implemented UIImagePickerController control and its all methods. I can open library, But I can't get photo which…
2
votes
1 answer

UIImagePickerController Pick Multiple images

I am trying to simply enable picking multiple images from photolibrary using the UIImagePickerController, I wish I can add a subview on bottom of the photo picker so it look something like this app does: It there a simple way you can do it? My code…
phil88530
  • 1,499
  • 3
  • 19
  • 27
2
votes
2 answers

fetching photo alassetlibrary asset representation size zero

When I am fetching photos using the ALAssetLibrary, for some images, the AssetRepresentation.size comes zero, which does not make the image, on my ImageView. Here is the code: ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init]; [library…
Nikita P
  • 4,226
  • 5
  • 31
  • 55
2
votes
1 answer

I can not use sourceType as UIImagePickerControllerSourceTypePhotoLibrary in ZBarSDK

I download ZBarSDK 1.2 in http://zbar.sourceforge.net/download.html It works well when I set the sourceType of ZBarReaderViewController as UIImagePickerControllerSourceTypeCamera. But when I set the sourceType as…
Boris Sun
  • 21
  • 2
1
vote
3 answers

Low Clarity with ALAsset Thumbnail

I am binding the photo Library images to my Table-view using ALAsset Library. So whenever i am binding the ALAsset Thumbnail image as a TableView cell image, there is a issue with image Clarity.It Shows as a low clarity image. I have Created a…
adrian
  • 4,574
  • 17
  • 68
  • 119
1
vote
2 answers

Email jpg created in app including metadata

I have successfully added metadata to a jpg created within the app and saved it to the Camera Roll using the writeImageToSavedPhotosAlbum: metadata: completionBlock: method. However I would also like the option of emailing this jpg with the…
Ted
  • 23
  • 1
  • 5