Questions tagged [photolibrary]

176 questions
0
votes
1 answer

Lazy loading of PhotoLibrary Images

i found an issue with Photo Library Images. It not displaying first time in my View,Image View is blank while loading first time. Because i found Asset Library block working on another thread.After reloading my View ,I can see all the Images.…
sham
  • 35
  • 7
0
votes
1 answer

Problem using a PHAssetCreationRequest to include .adjustment data

I'm trying to add image assets to a Photo Library, using a PHAssetCreationRequest. I can add photos, videos and live photos but I'm also trying to include adjustment data (in the form of AAE files). Here is my code (for adding still images): func…
psb
  • 89
  • 5
0
votes
1 answer

Saving a photo from photo library

I have some part of application that save user data like name, address and photo. I have solve problem to take a photo from photo library. Because that's only small database, I use NSUserDefaults to save data. But I don't know how to save photo from…
Alex Moskalev
  • 607
  • 7
  • 15
0
votes
1 answer

App Crash despite NSPhotoLibraryUsageDescription

my app crashs for reason - missing key for Privacy NSPhotoLibraryUsageDescription - allthough i add exactly this key to the info.plist file. I converted the projet from Swift 3 to Swift 5. Maybe thats the cause? I use the photo library for reading…
Joe
  • 149
  • 1
  • 5
0
votes
0 answers

iOS App is crashing when selecting multiple videos from photo library - memory warning

My app is crashing when I select multiple videos(1+ min each) from photo library because of memory warning. I'm trying to compress videos but still the same issue although compression code is working properly. I want my app to select 5 videos at…
Priyanka
  • 1
  • 2
0
votes
1 answer

How can I get my all photolibrary images from iPad in to an array

How can I get my all photolibrary images from iPad in to an array. I need NSMutableArray *myArray = "All photoLibrary images" Can any one please help me to do it.
Vipin
  • 4,718
  • 12
  • 54
  • 81
0
votes
1 answer

Allowing user to select image from Camera, Photo Library or Photo Albums and hit an error I cannot solve

I've been following David Thorn's video to allow users to take an image using their camera or import from their photo library or photo albums. https://www.youtube.com/watch?v=wDzk5KDe6Uw I've followed the guide character by character and am hit…
24SGR
  • 51
  • 1
  • 7
0
votes
1 answer

Unable to Save image in iOS device using Photo Libraby - ionic 3

Error - ERROR: Method 'requestAuthorization:' not defined in Plugin 'PhotoLibrary' and same issue facing for SaveImage Function. Few details: Ionic 3 Plugin version : PhotoLibrary ^2.2.1 Working fine in Android device but not working on iPhone 5s ,…
The_PratikshaK
  • 121
  • 1
  • 7
0
votes
1 answer

iPhone auto sync photos with our application using AlAssetLibrary

I have just started developing an application in which I want to auto sync all the images stored in user's photo library as assets. I am able to get URL for images those are stored as assets. e.g.…
Ruchir Agile
  • 537
  • 1
  • 5
  • 4
0
votes
0 answers

How can I guarantee the correct image orientation when importing a photo?

I have Swift code that uses the UIImagePickerController to have the user select a photo, a CIFilter is applied, then that UIImage is applied to a UIImageView. The problem is that I have no idea how make that image be in the correct orientation shown…
Chewie The Chorkie
  • 4,896
  • 9
  • 46
  • 90
0
votes
1 answer

How to save a couple of images as one image to photo library in swift?

There are three imageViews in first view controller (two donuts png and one Simpson image). Are there any solutions that I can capture these images as one image and save it to photo library? Thanks.
buzzmind
  • 109
  • 2
  • 10
0
votes
1 answer

UIImagePickerController works in iOS 11.1 but not in iOS 11.4

I have a fairly typical set of controls to take a picture or choose from a user's photo library. The latest OS version I have in Xcode is 11.1, and the image picker works with the code I have. (I don't know whether it's possible to run a newer…
0
votes
0 answers

How to rename/save image in gallery

I created a custom folder to save the image in the gallery through my application(which is achieved code as below). Now I want to set a custom name for that saved image. How can I achieve this challenge? If anyone possible to help me to achieve this…
Senthilkumar
  • 2,471
  • 4
  • 30
  • 50
0
votes
1 answer

Save newly scaled image to PhotoLibrary

I would like the user to be able to scale an image using UIPinchGesture. When the image is scaled to the size they would like, I want the ability to save that newly scaled and background UIView as a high resolution .png to the PhotoLibrary. Here is…
0
votes
1 answer

How to make a swipe enabled photo gallery (using photos from photo library)?

I'm making an ios camera application which is written in swift, and I want to add an album in the app. I'm using ALCameraViewController framework. It creates a nice collection view of the photos, which fetch all the photos from user's Photo…
Ron
  • 110
  • 1
  • 9