带有隐藏的UINavigationBar的UISearchBar [英] UISearchBar with hidden UINavigationBar

查看:82
本文介绍了带有隐藏的UINavigationBar的UISearchBar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在表格顶部有搜索栏,在隐藏的导航栏中.与 UISearchBar 一起使用 UISearchDisplayController . UISearchDisplayController 可以提出导航栏.因此,当我点击搜索栏中的取消"按钮时,导航栏会向下飞行.我如何消除这种可能性,所以导航栏将始终被隐藏?

I have the search bar in the top of the table and the hidden navigation bar. Along with UISearchBar I use UISearchDisplayController. UISearchDisplayController has the possibility to bring forward the navigation bar. So, when I tap the cancel button in the search bar, the navigation bar fly's down. How can I dismiss this possibility, so the navigation bar will always be hidden?

谢谢

推荐答案

最后!!!我找到了解决方案 IPHONE:ABPeoplePickerNavigationController隐藏的导航栏

Finnaly!!!! I've found the solution IPHONE: ABPeoplePickerNavigationController hidden navigation bar

这篇关于带有隐藏的UINavigationBar的UISearchBar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆