How do I build a UITableView with ON/OFF switchers ?

Discussion in 'iOS Programming' started by aneuryzma, May 22, 2011.

  1. macrumors newbie

    Joined:
    May 9, 2011
    #1
    How do I build a UITableView with ON/OFF switchers ?

    Image: http://d.pr/y4UT

    I thourht it was a predefined style but I couldn't find it.

    thanks
     
  2. MorphingDragon, May 22, 2011
    Last edited: May 22, 2011

    macrumors 603

    MorphingDragon

    Joined:
    Mar 27, 2009
    Location:
    The World Inbetween
    #2
    You'd have to make a custom cell that has a Switch object. I think you can do it through Interface Builder.

    I don't think apple provides a preset.
     
  3. macrumors 6502

    Joined:
    Jan 13, 2011
    Location:
    Los Angeles, CA
    #3
    Use Interface Builder. Drag a UITableViewCell and customize it any way you want.
     

Share This Page