Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using popped-up viewController as local property leads to error #28

Open
cool8jay opened this issue Jan 11, 2024 · 0 comments
Open

Using popped-up viewController as local property leads to error #28

cool8jay opened this issue Jan 11, 2024 · 0 comments

Comments

@cool8jay
Copy link

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:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Application tried to present modal view controller on itself. Presenting controller is <testPopup.TipViewController: 0x103c12e40>.'

Test project is here.

testPopup.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant