-
-
Notifications
You must be signed in to change notification settings - Fork 439
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
don't support custom view with AutoLayout? #59
Comments
Please provide more context... |
Hi, I am trying to show an PopTip with custom view after selecting a cell of a UICollectionView, but nothing is showed up. |
By nothing you mean the content or the whole popTip? If you don't see the bubble it may be due to wrong coordinates passed in the |
Here the code i use: When calling |
Sorry i forgot to say: |
Can you log the popTip's frame once you presented it? |
Yes, it has a frame of (0,0,0,0) |
Yeah, it's probably autolayout then. I reckon it's guessing the custom view's frame before autolayout did his thing. |
Ok then, Do you have a quick fix for now or something else ? |
Checkout latest commit. It's a wild guess, but who dares wins. |
Ok thanks, I will try it now. |
Sorry, but it didn't work. |
Can you reproduce the issue in the sample project by any chance? |
yes I can try, i will try it now. |
So I can reproduce it by adding my custom view in your sample project. |
Dunno, if you want you can send it at [redacted] |
I just send you the popTipDemo modified :) on [redacted] |
Any news on that bug ? :) |
Yeah, I figured out what's breaking stuff (layoutSubviews gets convulsively called), but I still need to figure out how to stop the madness. In the meantime you can ditch autolayout for that view (there's not much reason to use it for a simple view that does not need to scale) |
Ok thanks ! |
set poptip.translatesAutoresizingMaskIntoConstraints = false works for me |
Hi all. Sorry for the delay. Can you test again the issue now that #66 is merged in? |
This should be fixed on master. Reopen if you need further assistance. |
No description provided.
The text was updated successfully, but these errors were encountered: