简体   繁体   中英

How to implement UISearchController searchbar along with filter button in swift?

I wanted to implement a search bar in ios swift using UISearchController. I need a button to open a filter screen along side the searchbar, something similar to screenshot attached. I am not able to adjust the width of searchbar in table header view.

Thanks in advance

在此处输入图片说明

创建一个同时具有搜索栏和过滤器按钮的容器视图,并将其设置为表标题视图。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM