How to keep navigation bar from disappearing with MSMessagesViewController -> UIContainerView -> UINavigationController -> UITableViewController?
问题 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? 回答1: Let me start with the assumption that you used view.addSubview to add your UITableViewController to the