ios - Pushing event to different Controller in Swift -


i'm using package opens camera , can closed self.dismiss(animated: true, completion: nil). i'm uploading captured image , in success-state add dismiss(), before want call function of controller goes after dismiss.

let mainstoryboard: uistoryboard = uistoryboard(name: "main", bundle: nil) let photocontroller: foobarvc = mainstoryboard.instantiateviewcontroller(withidentifier: "foobarsb") as! foobarvc photocontroller.reloadphotolist() 

but doing this, doesn't call reloadphotolist() correctly. function rebuild imagecollectionview new data fetchd url


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -