Say for example, I have made a custom container view controller resembling a UINavigationController, but it has 2 navigation bars in the top.
Then, in child view controllers I use autolayout, and I of course want content to begin below the second navigation bar.
To achieve this automatically, I need to set the top layout guide to the height of the two navigation bars combined.
I assumed that we could just override the topLayoutGuide-property, but whatever I do, the topLayoutGuide function never gets called in either my custom container view controllers or the child view controllers.
So this means that topLayoutGuide is basically a worthless property, working ONLY with Apple's own container view controllers?
Please tell me I'm wrong!