Adding a Navigation Controller as a subview

Discussion in 'iOS Programming' started by sergio27, Oct 9, 2010.

  1. sergio27 macrumors member

    Joined:
    Nov 2, 2008
    #1
    Hello everyone. I've been trying different things and nothing has worked yet. I would appreciate your orientation.

    I have a UISegmentedControl in a bar at the top of my application and I want to show a different tableview under that for each of the segments. I have accomplished that, but I want to be able to navigate (push and pop views) on one of those tableviews.

    What do I need to do? Is it possible to set a Navigation Controller as any other view? Hope what I wrote made sense.

    Thank you for your help.
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    Navigation Controllers are not views: they are controllers. As such your question makes no sense. You can, quite possibly, add the view property of a navigation controller as a subview.
     

Share This Page