91 questions
1
vote
1
answer
50
views
Why Display P3 causes PHPickerViewController to “Unable to Load Photos”
When I set the global theme color via window.tintColor or UIView.appearance().tintColor, selecting an image using PHPickerViewController triggers “Unable to Load Photos “ error.
After my testing, this ...
-1
votes
1
answer
746
views
How to use a photo picker and display the selected photo within a single sheet in SwiftUI?
I want to have a sheet that displays a photo picker when the sheet is presented. After selecting a photo, the photo picker should disappear, but the sheet itself should remain open and display the ...
3
votes
1
answer
99
views
iOS PHAsset to check if a video is HEVC or H.264
Any way to retrieve if a video from gallery is H.264 or HEVC by using PHPickerViewController from PHAsset?
Below are the images in H.264 and HEVC from details information.
This image is H2.264.
This ...
0
votes
0
answers
59
views
How to restrict single photo selection while photo library access permission is displayed and user selects allow access?
In my SwiftUI application user should is allowed select only one photo from photo gallery. When first time application is installed and it asks for App would like to access your photo libary pop up ...
0
votes
1
answer
51
views
How to set nav button colors to black in iphone limited access library picker?
screenshot picker view
I'm having trouble customizing the nav button colors in PHPickerViewController when it is shown with limited photo library access on iOS. The navigation bar buttons ("...
0
votes
1
answer
451
views
PHPickerViewController in Full Screen and Can't select Item on iOS 18
I'm using the image_picker package to select photo in my Flutter iOS app. It worked correctly, but it looks like the Screenshot. It can't be selected nor dismissed. This is my code:
final ...
0
votes
1
answer
57
views
PHPickerViewController: present images in reverse order
I am using PHPickerViewController to get assets from the photo library. It works fine, but it presents images so that the newest is first. I would like to choose the order. In some cases I prefer the ...
-2
votes
1
answer
34
views
How to check same file using NSItemProvider in iOS?
When I get some images of Photos in iPhone device using NSItemProvider by PHPickerViewController, I want to know how to check same file(image) with picked photos.
Because I use NSItemProvider, the ...
-2
votes
1
answer
45
views
How to change my code to display images on imageView selected from gallery using PHPickerViewController without using CollectionView?
I'm making an app where the user selects a football lineup, then selects 11 football player images from a gallery, and then drags those images into positions. Since I need to select 11 photos at once, ...
2
votes
1
answer
270
views
How can I disable location information in PHPickerViewController?
I'm using PHPickerViewController to allow a user to import photos into my app. Unfortunately, it seems to default to including location information (see screenshot below, all the way at the bottom). I'...
0
votes
1
answer
368
views
PHPickerViewController Disregards Order Photo is Selected
I use a PHPickerViewController to select profile images and want the first photo selected to be a user's hero image.
Whenever I return the selected results, the order in which I selected is not ...
0
votes
0
answers
527
views
iOS 17 swift get GPS Location from Image [duplicate]
I am fetching an image from the photo library and fetch the GPS Location data, but it's not working.
This needs to work on iOS 17 as well, so I used PHPicker. kCGImagePropertyGPSDictionary is always ...
3
votes
1
answer
751
views
`PHPickerResult.itemProvider.canLoadObject(ofClass: UIImage.self)` returns `false` on iOS 17
I'm using PHPickerViewController. In the delegate method, I load the images like this:
results.forEach {
if $0.itemProvider.canLoadObject(ofClass: UIImage.self) {
$0.itemProvider....
2
votes
1
answer
307
views
How to handle callback from PHPickerViewController in a KMM project?
I'm working on a KMM application with a video picking feature. For the iOS implementation, I'm using a PHPickerViewController. The view controller is well presented but I don't know how to handle the ...
0
votes
2
answers
1k
views
PHPickerViewControllerDelegate — special handling for limited case? Why is didFinishPicking not working seamlessly?
I am using the new PHPickerViewController & Delegate on iOS15+.
I want my code to get get a callback from the picker (regardless of full photo access or limited) that the user has selected photo x,...