Hello everyone,
We found that the order of images in album is not in same order for album opened from native photos app and album opened from photo library to select image from application in iOS 16. Our app has a function to open photo library but orders in the photo library in our app is same as the previous order like iOS 15. We also tried to re-order the photos in Albums in Photos App by date descend and date ascend since there is an option to configure it, but the images will be always displayed in an opposite order when we choose the album to view/upload photos in our app. We use PHPickerViewController to open the photo library and we don't modify the image order from our side. Let me attach the source code as a reference.
var config = PHPickerConfiguration()
config.selectionLimit = 1
config.filter = .any(of: [.images, .livePhotos])
let picker = PHPickerViewController(configuration: config)
picker.modalPresentationStyle = .fullScreen
picker.delegate = self.photoPickerDelegate
pickerViewController = picker
By default, the behavior is:
- Our app and iOS 15 Photos app
- from bottom-right to top-left, image is sorted by added date
- iOS 16 beta Photos app
- from top-left to bottom-right, image is sorted by added date
We would like to know if this is an iOS 16 expected behavior or beta issue.
Thank you.