An iOS Custom Media Picker Just like Instagram Stories.
Source code for my Tutorial on how to build custom media picker using apple's PhotoKit framework.
Core Focus: PhotoKit
Check out the Tutorial and learn:
- How to Setup and Ask for User's Photo Library Permission.
- How to Fetch Smart Albums and User-Created Albums.
- How to Fetch all Photo Assets in a Specific Album.
- How to Retrieve Images from Assets.
- How to use the retrieved PHAssets and PHAssetCollections to power our UI.
- How to use PHPickerViewController to search and select specific assets.
- How to use the PHPhotoLibraryChangeObserver protocol to keep assets up to date.