ytakzk / Fusuma

Instagram-like photo browser and a camera feature with a few line of code in Swift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FUSUMA: Multiple Images not loading in order

Sathya-S opened this issue · comments

func fusumaMultipleImageSelected(_ images: [UIImage], source: FusumaMode, metaData: [ImageMetadata]) {
print("Multiple Images Selected")
let sb = UIStoryboard.init(name: "Main", bundle: nil)
let vc = sb.instantiateViewController(withIdentifier: "CollectionVC") as! CollectionVC
vc.selectedImage = images
print("images",images)
self.present(vc, animated: true, completion: nil)

}

I'm very new to app development. When i use the above delegate method instead of
func fusumaMultipleImageSelected(_ images: [UIImage], source: FusumaMode) to load the multiple images in collection view in another class, the image is not loading in the selective order. Please clarify.