UISearchController设置导航栏隐藏时偏移-64解决方法

初始化UISearchController的时候添加如下代码ide self.definesPresentationContext = YES; 这行代码是声明,哪一个viewcontroller显示UISearchController,苹果开发中心的demo中的对这行代码,注释以下 // know where you want UISearchController to be displayed
相关文章
相关标签/搜索