ThornTechPublic / InteractiveModal

MIT License
148 stars 36 forks source link

Warning after opening modal once #8

Open renanstig opened 7 years ago

renanstig commented 7 years ago

Hi,

I'm following your tutorial about how to implement a custom transition between views and everything is working fine, but after I close the ModalView and then try to open it again, this message is shown on my console:

Warning: Attempt to present <InteractiveModal.ModalViewController: 0x7feffaf0c390> on <InteractiveModal.ViewController: 0x7feffaf0a070> which is already presenting <InteractiveModal.ModalViewController: 0x7feffae0d4b0>

After that, the modal isn't being opened anymore. Can you please tell me what I should do to solve that?

Thanks, Renan.

chenr2 commented 7 years ago

@renanstig Thanks for providing detailed warning info regarding this issue. I'm not actively working on iOS tutorials at the moment. But if there's anyone seeing this that has any ideas, feel free to chime in!