-
Notifications
You must be signed in to change notification settings - Fork 427
setExtensionView: not compatible with Autolayout #41
Comments
Thanks for your feedback @jhurliman, and sorry for the late reply. I'd really love to keep this project as simple as possible, while making sure that the few features it provides actually work properly. I'd really suggest using custom collection view layouts or similar for any setup that is more complicated than the current one. I'll keep this issue open for future reference, and for possible solutions that may come up without increasing the complexity. |
Any fixes yet? |
I really need a solution. :o) |
@Mazyod i'm running into similar issue. i have buttons in the tool bar and now i can't click those buttons since it's using autolayout |
also voting for a similar solution, even just a selector i.e |
I'll try to look into this |
This is still an issue in latest version. Any update on when Autolayout will be supported? |
@Errortype520 really sorry about that, I haven't looked into this yet. I'll give it higher priority and try to get to it sooner, but can't promise any dates atm. |
Hi, @Mazyod Here is my implementation. |
@DmitrijMaz Hey, sure I am interesting in assisting you in coming with a solution, but it's really difficult to collaborate with zip files. How about forking the repo, making changes, and I'll chip in over there? |
Any updates? I've got the same issue. After profiling I found that constraint-updating was hogging the main thread. |
+1 same issue with autolayout |
I also need autolayout support. But even without autolayout, how do you resize extension view's width?? Running your example project and rotating the view controller just leaves the extension view with the portrait width. |
@Mazyod any updates about autolayout support? Is it project active and supported yet? There are so many open issues and old code... The sources does not look simple & well structured btw. |
I'd love to use TLYShyNavBar, but it doesn't seem to support extension views when auto layout is enabled. TLYShyViewController.updateYOffset is using
self.view.center = ...
to move the view which very quickly gets overridden by the auto layout engine. Another project mentioned on your project page, https://github.com/andreamazz/AMScrollingNavbar, seems to have a solution for this using[self followScrollView:self.scrollView usingTopConstraint:self.topLayoutConstraint];
. Would it be possible to add a similar solution to this project?The text was updated successfully, but these errors were encountered: