Using a Segmented Control to change UIViews

Discussion in 'iOS Programming' started by lilmul123, Jun 30, 2009.

  1. lilmul123 macrumors newbie

    Jun 30, 2009
    Hi, first time poster, constant lurker! I'm relatively new to iPhone programming and I don't know how I might implement this...

    Currently, I have a main view, and an alternate view that I use as an options menu. When the user presses the info button in the top corner, the screen simply changes from the main view to the options view, and vice versa. Now, I'd like to implement a segmented control that switches between two different main views from the options menu, but I don't exactly know how to do this. I'm not using Interface Builder; I'm doing all interface stuff programmatically using UIViews. Can anyone help?
  2. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State

Share This Page