I use a viewController as a local property(to keep some info when it is opened again). But if I click the trigger button very fast. An error happens:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Application tried to present modal view controller on itself. Presenting controller is <testPopup.TipViewController: 0x103c12e40>.'
Here is my test project.
I use a viewController as a local property(to keep some info when it is opened again). But if I click the trigger button very fast. An error happens:
Test project is here.
testPopup.zip