UISearchController替代UISearchDisplayController
加上这个self.searchController.hidesNavigationBarDuringPresentation = NO;就不会自动隐藏导航了
UISearchController替代UISearchDisplayController
加上这个self.searchController.hidesNavigationBarDuringPresentation = NO;就不会自动隐藏导航了
本文标题:searchbar隐藏navigationbar问题解决
本文链接:https://www.haomeiwen.com/subject/wbtusxtx.html
网友评论