I have a very simple split view window. everything is laid out, but auot layout is screwing everything up.
wish i knew why auto layout jacknifes my Ui.
the splitview is the top level view in the window. it is horizontal, and there is a text field in the rightmost view in the splitview.
the splitview is tied to the window top, bottom, trailing and leading.
at that point, everything works as expected. when compiled, the split controls work just fine.
the problem, is when I try to add constraints to the text box. I put top, leading and trailing constraints on. all to superview. IB actually reversed the first item and the second item in the top constraint, thought I caught the issue. But alas, nope. When I run the app, the splitview became a piece of crap. The split control allows you to drag it, but when you let go, it snaps to some point that it won't let go. It will not under any circumstances behave like a splitview any more.
There is no justification, there is no reason, there is no logical argument for this kind of behavior. But now I need to dig through the documentation and try to understand the short comings of the autolayout engine. Ideas welcome.