Currently, if we perform multiple selection on PHPickerViewController
, a tick icon is being used to indicate selection.
https://i.imgur.com/KCaSF9p.png
However, such information doesn't convey information for the selection ordering.
Is it every possible, to display the ordering number? This is an example from 3rd party library - https://github.com/mikaoj/BSImagePicker
As you can see, the 3rd party library is using 1,2,3... to convey selection ordering information
https://i.imgur.com/YoQVS4v.png
Can we achieve the same behavior in PHPickerViewController
? We prefer to use PHPickerViewController
, because it doesn't need to request permission to access photo library.
Thanks.
Check out the new selection
configuration option in the iOS 15 (beta) SDK: https://developer.apple.com/documentation/photokit/phpickerconfiguration/3752714-selection
Aside from setting a selection limit in the configuration, you can set the selection behavior to ordered
to number the selected assets.