Open denandreychuk opened 4 years ago
Hi! DrawerView acts like an ordinary view, so would it be possible to reorder view hierarchy and put it behind the tab bar? I haven't played with tab bar much, so I can't say from the top of my head.
We only have bringSubviewToFront
and sendSubviewToBack
. But I need to insert drawer at specific position (insertSubview(_:belowSubview:)
).
I think it would be nice, if DrawerView will allows us to manually insert it into view hierarchy and then just call some type of setup method to configure all internal constraints and other stuff. attachTo
not flexible enough.
Would it work for you if there's overload for attachTo
to specify the order in a more flexible way? Something like attachTo(view: UIView, belowSubview: UIView? = nil)
?
Yes, it should work.
Hello @mkko! I have a question. Is it possible to insert drawer below specific view?
I have UITabBarController with some items inside it. I want to present drawer below UITabBar but on front of my UIViewControllers.