phphotolibrary Questions
12
Solved
With the new functionality in iOS 8, if you are using a camera in the app, it will ask for permission to access the camera and then when you try to retake the pic, it asks for permission to access ...
Sagamore asked 27/10, 2014 at 19:27
2
In ios 11 we now have "Add photos only" permission setting.
But how we now determinate which photo library access level is set?
[PHPhotoLibrary authorizationStatus] works only for "Read and Write...
Blanche asked 21/9, 2017 at 10:36
4
`PHAssetChangeRequest.creationRequestForAssetFromVideo(url:)` fails for high FPS videos on iPhone SE
We have gotten reports of issues with recording slow motion videos in our application. We have tested the issue on iPhone X, iPhone 6, and iPhone SE. The 6 and the X both work fine, but the SE fail...
Payee asked 13/1, 2018 at 20:33
2
Solved
Is there a way to get the height and width of the image from a PHAsset object.
I'm trying to make an image picker with a custom UICollectionViewLayout (Kind of like the main page of Pinterest app)...
Scholasticism asked 24/9, 2016 at 8:32
2
Solved
I am writing a photo album app which can access the photo from the user's photo library, add filter, and delete photo. I used the Photo framework to delete an asset with PHAssetChangeRequest.delete...
Nag asked 23/10, 2017 at 7:38
6
Solved
I am using the UIImagePickerController in two cases
to select an existing image in the Photo Library
to take a new picture
In the first case, when I choose an image form the library, I can easi...
Springwood asked 12/5, 2015 at 16:48
2
I'm having a weird problem moving a .mov file created by my app from the documents folder to the camera roll. A bit of background:
The app makes time lapse movies. It works specifically with the d...
Godesberg asked 11/7, 2017 at 8:20
3
I try to put image to custom album with this code:
PHAssetCollection *album = [self getMyAlbum];
UIImage *image = [self getMyImage];
[[PHPhotoLibrary sharedPhotoLibrary] performChanges:^{
PHAsse...
Hippy asked 12/1, 2017 at 13:4
2
Solved
I'm trying to access both the camera and photo library in swift4 using the following code
let imagePickerController = UIImagePickerController()
imagePickerController.delegate = self
let alert =...
Zarate asked 19/9, 2018 at 5:58
3
Solved
I can't find a similar method to ALAssetsLibrary->writeImageDataToSavedPhotosAlbum in the new PHPhotoLibrary since ALAssetsLibrary deprecated in iOS 9 I can't save GIF probably I'm using this code ...
Endoparasite asked 13/2, 2016 at 1:16
2
I am currently using AVCaptureStillImageOutput to get a full resolution picture. I am also able to get the exif metadata using the following code:
[self.stillImageOutput captureStillImageAsynchron...
Chuch asked 2/3, 2016 at 21:32
2
For testing, I was trying to recreate the system 'Requesting Access' popup experience.
Update:
Under iOS 11, after deleting the App, the system popup will be displayed again.
(previous question...
Wardieu asked 29/1, 2016 at 11:28
0
The following function loads a photo, edits the exif metadata attached to it and saves it back out. The function only seems to work for photos that already have a PHAdjustmentData attached ie photo...
Kiruna asked 15/1, 2018 at 0:40
1
When I try to determine whether the user has permission to open the album, xcode told me that this does not work.
let authStatus = ALAssetsLibrary.authorizationStatus()
return authStatus != .restr...
Hartmann asked 28/9, 2017 at 0:33
2
I'm using a UIImagePickerController to allow the user to take a picture with the camera. When the delegate's called, I want to save the image to the photo library/camera roll, which I do using PHAs...
Armidaarmiger asked 30/11, 2015 at 2:34
2
I'm having an issue implementing a camera View Controller for an iOS app that I'm working on. When a button is pressed, I have a singleton camera object that manages the AVFoundation side of things...
Lashkar asked 11/1, 2017 at 6:44
3
Solved
I've been trying to find an alternative for getting the album names with the Photos API in iOS 8. With ALAssets, we can use: valueForProperty:ALAssetsGroupPropertyName however with the Photos API, ...
Bedight asked 2/6, 2015 at 20:20
2
Solved
I am developing a share extension for photos for my iOS app. Inside the extension, I am able to successfully retrieve the UIImage object from the NSItemProvider.
However, I would like to be able t...
Rodin asked 15/12, 2015 at 16:39
0
I have an app that displays GIFs from the internet and I am trying to add the ability to save a GIF to the camera roll. I am using the PHPhotoLibrary and I was trying to save it to the camera roll ...
Morea asked 2/11, 2016 at 0:43
2
Solved
My app keeps crashing when running in the simulator everytime I try to request authorization for the photo library. I am using the following code in my appDelegate in didFinishLaunchingWithOptions:...
Kachine asked 17/6, 2016 at 10:39
2
Solved
I'm working on an iOS app in which I need gallery view like Instagram. I have added gallery View, camera View and video View, after taking image it saves to custom album of Photos. Now I want to re...
Adulthood asked 23/5, 2016 at 15:29
0
My application has function to downloads many photo and video files in tmp folder and save them in camera roll with PHPhotoLibrary API.
The problem is that sometimes (the probability is around 10%...
Disenchant asked 15/8, 2016 at 9:38
1
I am using the PHPhotoLibrary to retrieve several photo collections like this:
_smartAlbumsFetchResult = [PHAssetCollection fetchAssetCollectionsWithType:PHAssetCollectionTypeSmartAlbum subtype:PH...
Outstay asked 5/10, 2015 at 12:33
1
Using the new Photos Framework, I am able to detect changes to the photo library when the app is running and in the background using photoLibraryDidChange.
But when the app is terminated (either b...
Birdman asked 27/4, 2015 at 19:1
1
Solved
What I am trying to do is to save videos to PHPhotoLibrary, and then remove them when upload to clients remote server in the application completes (basically, photo library serves as temporary stor...
Imprisonment asked 10/8, 2015 at 14:54
1 Next >
© 2022 - 2024 — McMap. All rights reserved.