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

placeViewClosed keeps the view to reappear #23

Closed
KarimFikani opened this issue Sep 10, 2015 · 1 comment
Closed

placeViewClosed keeps the view to reappear #23

KarimFikani opened this issue Sep 10, 2015 · 1 comment

Comments

@KarimFikani
Copy link

Every time I tap on the 'X' button the view shows up again because "presentViewController(gpaViewController, animated: false, completion: nil)" is in "viewDidAppear". So every time "dismissViewControllerAnimated(true, completion: nil)" is called the same view controller loads again.

How can I make it jump to a new ViewController?

@watsonbox
Copy link
Owner

Maybe take a look at this issue. I just use viewDidAppear in the example for convenience but you could call presentViewController anywhere.

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

2 participants