ivanvorobei / SPLarkController

Custom transition between controllers. Settings controller for your iOS app.
https://opensource.ivanvorobei.io
MIT License
988 stars 47 forks source link

refresh parent. #8

Closed ciumexan closed 2 years ago

ciumexan commented 4 years ago

Hello, after i dismiss i want to refresh the parent controller. But it does not work.

let controller = UIViewAcknoledge() controller.modalPresentationStyle = .custom SPLarkController.updatePresentingController(modal: controller) self.presentAsLark(controller)

ivanvorobei commented 4 years ago

In your code you try update parent BEFORE presenting controller, it incorrect.