KLCPopup icon indicating copy to clipboard operation
KLCPopup copied to clipboard

ContentView is not removed from superview when dismiss

Open genglei01 opened this issue 9 years ago • 0 comments

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?

genglei01 avatar Nov 24 '15 10:11 genglei01