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

ContentView is not removed from superview when dismiss #46

Open
genglei01 opened this issue Nov 24, 2015 · 0 comments
Open

ContentView is not removed from superview when dismiss #46

genglei01 opened this issue Nov 24, 2015 · 0 comments

Comments

@genglei01
Copy link

I declare a global variable(KLCPopup), and find contentView is not remove from popup after dismiss the popup. And show a new contentView by the popup, there are actually two contentViews in the popup.

I know there is a callback(didFinishDismissingCompletion), user can add

   contentView.removeFromSuperView()

into the callback.

But I do not think everyone want to add the extra code.

Is my thought wrong?

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