I am working on an application that uses a navigation controller to manage views. In one part of my application, I want to have a UIView with a UISegmentedControl right below the navigation that βfiltersβ the UITableView. Essentially:
======================================== | < 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 > | ========================================
So how do I put this together; how can i do this in code or how do i do this in IB?
Thanks!
source share