UINavigationController
ContainerViewController
MyViewController1
UITableView
MyViewController2
UITableView
现在我想要MyViewController2中的UISearchBar。
然后我尝试初始化UISearchController,然后将其设置为tableView的headerView。
看起来不错,但是当我点击searchBar时,它随UINavigationbar消失了。
任何帮助将不胜感激(: