Segmented Control with TableView

Discussion in 'iOS Programming' started by McBgnr, Jun 30, 2010.

  1. McBgnr macrumors regular

    Apr 13, 2009

    I am coming back to iphone development after a break. Am not able to work on a simple sample where I want to have a view with Navigation Bar at top, TableView in the center, and Segmented Control at the bottom.

    Pls suggest how I can go ahead with this. I tried making a new project. Added a UIViewController class to it. Then I added an NSObject referring to my UIViewController in the xib. I have set Navgationbar and status bar properties for the controller.

    Then in app delegate i am setting view to that of my view controller's view. But somehow it is not showing up. Also when I try to drag segmented control on the View, but that doesn't work either.

    Please suggest. Seems like I am lost at this point.
  2. ritsard macrumors regular


    Jun 18, 2009
    SF Bay Area, CA
  3. McBgnr thread starter macrumors regular

    Apr 13, 2009
    Yes I am doing all this in IB. Suggestions welcome.

Share This Page