我正在开发一个使用导航控制器控制视图的应用程序.在我的应用程序的一个部分中,我希望在导航下方有一个带有UISegmentedControl的UIView,它将“过滤”UITableView.实质上:
======================================== | < Back) Title Goes Here | <- navigation bar ======================================== | ( All | Active | Inactive ) | <- segmented control ======================================== | Item one > | <- UITableView all the way down |--------------------------------------| | Item two > | |--------------------------------------| | Item three > | |--------------------------------------| | Item four > | |--------------------------------------| | Item five > | |--------------------------------------| | Item six > | ========================================
那我怎么把它放在一起;我将如何在代码中执行此操作或如何在IB中执行此操作?
谢谢!
解决方法
这看起来非常接近UISearchBar的Scope栏.你考虑过使用它吗?