簡體   English   中英

UISearchbar 中的搜索結果標簽

[英]Search results label in UISearchbar

如何在 iPhone 上像 App Store 一樣設置搜索結果標簽?

或者像這樣: http://imageshack.com/a/img809/9499/8htm.jpg

您可以使用UISearchDisplayController類或添加UISearchBar,將要使用的控制器設置為其委托,並實現必要的方法。

蘋果參考資料: https : //developer.apple.com/library/ios/documentation/uikit/reference/UISearchDisplayController_Class/Reference/Reference.html

我相信此鏈接會有所幫助。您可以找到有關它的教程。 http://www.raywenderlich.com/16873/how-to-add-search-into-a-table-view

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM