92 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
253
views
Picking image in iOS-first app when running it on macOS 26
An app that is capable of running on iPad can be usually run on Mac if properly designed and that's great.
Recently I've tried to launch one of my old apps on macOS 26 in "Designed for iPad" ...
1
vote
1
answer
55
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
929
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
117
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
63
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
55
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
474
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
59
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 ...
-1
votes
1
answer
38
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
47
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
291
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
391
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
542
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
778
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
326
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 ...