Making a button lead to a pre-existing view?

Discussion in 'iOS Programming' started by JamesFoote, Sep 25, 2008.

  1. JamesFoote macrumors regular


    Aug 5, 2008
    My app currently has the following menu:


    I want to make the first link lead to another view that I already made. The view I want the button to lead to reads RSS feeds.

    I know I need to add a subview but I'm pretty confused with this one part so if anyone could help that would be really great

    Thanks in advance! :D
  2. PhoneyDeveloper macrumors 68040


    Sep 2, 2008
    You should use a UITableView for this kind of UI. It will do a lot of the work for you.
  3. JamesFoote thread starter macrumors regular


    Aug 5, 2008

    hmmm.... OK - i'll try out that alternative.

    If anybody still knows how to solve this problem though that would be great!
  4. Niiro13 macrumors 68000

    Feb 12, 2008
    The problem is that you're dragging tableview cells into a non table view view.

    You definitely want to use a tableview, because it can be dynamic and you wouldn't have to update the application everytime a new application comes out.

    But if you're using buttons, then you need to do it programatically. Create an IBAction, then in the code, push the view controller.

Share This Page