I am trying to put a navigation controller with a table view controller within an iMessage app (iOS 10). This seems to work when I put the UINavigationController within an UIContainerView within the MSMessagesViewController .

However, this breaks when in expanded view. The UINavigationBar that the controller has disappears.

How can I remedy this, or am I taking the wrong approach?