Hopefully this isn't too confusing.
I have a main view controller (MainView
) with a stackview at the bottom of the view and inside the stackview I have three views. Inside one the views (lets call it footerView
) i'm adding a little tooltipView
- and because footerView is nestled inside a stackview at the bottom of MainView
- it's got some overlap with the other views. I want to tell the tooltipView
to be on top of all the views but it's not working. Inside footerView
- it has no superview
(I presume because it's inside a stackview) so I can't use parentView.bringSubviewToFront(childView)
.
What could I do instead? Is delegation through the layers the only way?