UISearchController替代UISearchDisplayController 加上这个self.searchController.hidesNavigationBarDuringPresentation = NO;就不会自动隐藏导航了 君凯商联网-iOS-字唐名僧