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

dismiss not working with iOS 8, Swift #17

Open
Katafalkas opened this issue Jan 2, 2015 · 2 comments
Open

dismiss not working with iOS 8, Swift #17

Katafalkas opened this issue Jan 2, 2015 · 2 comments

Comments

@Katafalkas
Copy link

Hey,

Not sure if it is a bug or I am doing something wrong.

I got this code:

var loadingPopupView = KLCPopup(contentView: LoadingIndicatorPopupView(), showType: KLCPopupShowType.BounceIn, dismissType: KLCPopupDismissType.BounceOut, maskType: KLCPopupMaskType.Dimmed, dismissOnBackgroundTouch: false, dismissOnContentTouch: true)
loadingPopupView.show()
loadingPopupView.dismiss(true)
loadingPopupView.dismiss(false)
KLCPopup.dismissAllPopups()

popup shows but is never hidden. I got another popup which is dismissed via self.dismissPresentingPopup() from inside the view and that seem to work. But when I am trying to dismiss it from outside - it never gets dismissed.

because of dismissOnContentTouch: true it is dismissed by touching on content.

Any ideas ?

@vsouza
Copy link

vsouza commented May 15, 2016

+1

@vsouza
Copy link

vsouza commented May 15, 2016

try self.dismissPresentingPopup() in your extended UIView class.

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