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
Glitch when using autolayout #17
Comments
hmmm - nothing is coming to me right off the bat, but I'll start looking into it! |
This one was tricky! :) In the end, I ended up overriding the 'layoutSubviews' method. If rotated, then the animations/frames that need to change are updated. We can't get notification to a UIView for when a device WILL rotate (unlike UIViewController's |
👍 |
Awesome! |
Hi @antiguab |
Hey @andreamazz weird - I don't seem to be getting an error running your project. Here's is what I get when I flip it on my device https://vid.me/5Jfr |
That's odd, on my device (iphone 6) it happens even without rotation (the view is sized on an iphone 5 screen, when autolayout stretches it to fit the 4.7" screen this happens): |
sadly I only have an iPhone 5 :( . It's a shot in the dark, but let me know if this works https://github.com/antiguab/BAFluidView/tree/iphone6_bug_fix_17. This introduces an issue with the animation speed, but I can fix that if it looks like we're going down the right path. |
I tried it and the issue persists. |
Hey @andreamazz - sorry this project fell through the cracks :). Trying to pick it back up! Can you provide that project again? thanks! |
@andreamazz |
Hi @antiguab |
Hi :)
I'm using BAFluidView with interface builder and autolayout, and I noticed a glitch when doing so:
http://d.pr/v/aR6
looks like the bezier path are computed at the starting size, but once autolayout resizes it to fit a bigger screen those values are no longer valid.
This sample shows the issue (you might need to hide the frontmost mask in IB, or just run it on your device and tilt it :) )
Any idea?
Thanks
The text was updated successfully, but these errors were encountered: