Misplaced/Overlapping Navigation Item Text on iOS 10

The bug displayed in the attached screenshot occurs consistently for me while running the developer beta of iOS 10 using v1.5.2 of the Stack Exchange app on an iPhone 6.

I was able to recreate this by simply tapping on any question or answer in my feed with a long title. This doesn't appear to be a bug with iOS 10 itself since I haven't seen it in other apps, but I could be wrong.

• Who says this is a bug in the app and not iOS? Jun 17, 2016 at 19:50
• @PatrickHofman I mentioned that possibility in the last paragraph of my post. Figured it was still worth mentioning. Jun 17, 2016 at 19:54

Whenever the title view's content changes, the app resizes the title view to match the contents, then calls superview?.layoutIfNeeded() to get it to the correct size. This supports the cases where the text is very long and should take up all the space, and the case where the text is very short and can be centered in the available space.
In iOS 10, updating the titleView's bounds didn't automatically invalidate the layout so I've added superview?.setNeedsLayout().