Adding an image to View Switcher app

Discussion in 'iOS Programming' started by waffles123, May 4, 2009.

  1. macrumors regular

    Joined:
    Feb 23, 2009
    #1
    Hi, I'm modifying the View Switcher app in this book, and I want to add a custom image to view #1, aka the BlueView, and a custom image to view #2, aka the YellowView. When I try to add them in Interface Builder, and run them in the iPhone Simulator, it recognizes the first image in view #1, but it stays the same Yellow background in view #2. What am I doing wrong?
     
  2. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    How are you adding the custom image to view #2?
     
  3. thread starter macrumors regular

    Joined:
    Feb 23, 2009
    #3
    The same way as view #1. I'm going to go create a video to show you.
     
  4. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #4
    Why not explain it in text here?
     
  5. thread starter macrumors regular

    Joined:
    Feb 23, 2009
    #5
    It seems like it won't work if I first set the mode to "Aspect Fill." But if I first to it to "Center", and THEN to "Aspect Fill" it will work. Weird :confused:
     

Share This Page