Container control?

Discussion in 'iOS Programming' started by pinsrw, Oct 18, 2010.

  1. pinsrw macrumors regular

    May 30, 2010
    Hi all,

    I want to create a UITableView that will have more than text in it. Specifically I want each cell to contain possibly several widgets side by side.

    In other GUI systems, there is usually a container widget/control called a List that will place widgets adjacently either vertically or horizontally.

    For instance, a horizontal List of three widgets might look like this

    [Label 1][Button 1][Button 2]
    Is there such a thing in iOS? Or do I need to use a UIView and position the sub-widgets myself?

  2. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State
    No such thing in iOS, since UITableView is a single column. There are, however, a number of options for doing what you want, as explained in the Table View Programming Guide for iOS.

Share This Page