I am new in IOS, I am using a third party library to integrate my multiple image/video picker. library link https://github.com/hyperoslo/Gallery
Local images/video displaying fast enough but the problem is once I am using the iCloud contain more than 500+ images it taking almost 1 mins. to load for the first time, is their any solution reduce or almost remove the loading time.
This is my code snapshot, might helpful
class MyGalleryViewController: UIViewController, GalleryControllerDelegate,UITabBarControllerDelegate{
let gallery = GalleryController()
override func viewDidLoad() {
super.viewDidLoad()
openGallery()
}
private func openGallery(){
gallery.delegate = self
gallery.modalPresentationStyle = .fullScreen
present(gallery, animated: true, completion: nil)
}
//Rest of galleryController function
}
Big big thanks in advance.