I’m not sure about views, but constraints do have an “identifier” property that you can set in code or IB (using the attributes inspector) to make analyzing the logs easier. Lots of tips on debugging auto layout here: https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/AutolayoutPG/TypesofErrors.html#//apple_ref/doc/uid/TP40010853-CH17-SW1
Post
Replies
Boosts
Views
Activity
What navigation bar instance are you modifying? Normally you get a reference to the nav bar from your UINavigationController, not from your own stored property or outlet or whatever _myNavBar and self.navbar are in your example.