In iPhone OS 3.0, Apple added the ability to share multiple pictures at once using the "Share" button and selecting multiple images (where a checkmark is used).
I'd love to have a UIImagePickerController which lets the user select multiple images at once, rather than having to go one by one. Is there a way to do this, or do I have to wait until they add this feature?
AssetLibrary + UICollectionView ^^
Basically, with StoryBoard, you import a
UINavigationController
, you change the root controller to anUICollectionViewController
(will be your Album list), end add anotherUICollectionViewController
(will be your photos list).Then with Assetlibrary you retrieve user albums and user album content.
I will make a such component as soon as i have some time.
How about this way:
Open "photos.app" first, select multiple photos , and copy them ;
In your own app, try to retrieve those copies photos;
I knew that there are some apps did like this, but do not know how can achieve step 2.
1.install pod - pod "BSImagePicker", "~> 2.8"
3.paste below code inside a .swift file-
Note :- if pod file give "How to fix “SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0” error in Xcode 10.2? " this error then solve it from this link:- https://stackoverflow.com/a/55901964/8537648
video reference: - https://youtu.be/B1DelPi1L0U
sample image:-
You can use this OpalImagePicker like this (Swift 4):
And then implement its delegate:
Try this wonderful API in swift: ImagePicker. As all other image APIs, it is simple to use and it is very well updated.