Ios 模式Segue显示(推送)Segue LargeTitle导航不工作

Ios 模式Segue显示(推送)Segue LargeTitle导航不工作,ios,swift,Ios,Swift,我有我的主UIViewController,它以模式显示我的第一个UITableViewController,然后我尝试使用Show(Push)segue访问我的第二个UITableViewController,但在我的第二个UITableViewController中,导航栏没有显示大标题。我的第一个UITableViewController显示大标题导航,但当我单击转到第二个UITableViewController(带show segue)时,它不显示大标题。对于这两个UITableVie

我有我的主UIViewController,它以模式显示我的第一个UITableViewController,然后我尝试使用Show(Push)segue访问我的第二个UITableViewController,但在我的第二个UITableViewController中,导航栏没有显示大标题。我的第一个UITableViewController显示大标题导航,但当我单击转到第二个UITableViewController(带show segue)时,它不显示大标题。对于这两个UITableViewController,我都将LargeTitle设置为always,但由于某些原因,第二个不会显示大标题


其他人有这个问题吗?

首先,您应该展示一个
UINavigationController
,它将您的第一个
UITableViewController
作为
rootViewController

那么,以下几点应该起作用:

navigationController?.navigationBar.prefersLargeTitles = true