How to set topLayoutGuide position for child view controller

后端 未结 4 1025
耶瑟儿~
耶瑟儿~ 2020-12-14 00:35

I\'m implementing a custom container which is pretty similar to UINavigationController except for it does not hold the whole controller stack. It has a UINavigationBar which

4条回答
  •  萌比男神i
    2020-12-14 01:27

    As far as I have been able to tell after hours of debugging, the layout guides are readonly, and derived from the private classes used for constraints based layout. Overriding the accessors does nothing (even though they are called), and it's all just craptastically annoying.

提交回复
热议问题