![](/img/trans.png)
[英]iOS - ScopeBar overlaps SearchBar in UISearchController in TabBarController
[英]How to make a scopebar in UISearchController always visible in Ios swift?
我想使用ScopeBar
在UISearchController
實現功能,我不想隱藏我的范圍欄。 我希望它始終可見並起作用。 當前,它在第一個視圖加載時可見,然后在應用搜索過濾器后隱藏。 然后,繼續前進,在單擊搜索欄時它始終變得可見。
如果希望范圍欄始終可見,則可能需要連接一個單獨的UISegmentedControl而不使用范圍欄,因此您不必弄亂UISearchController的默認行為。
另外, 這個問題可能會幫助您找到答案。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.