0

I am new to iphone development. I am trying to develop an alarm app, same as in the iphone itself. But I am struggling to get to display the view of the table that shows only the filled in rows. I get the datatable all over the view. which property on the datatable decides to show only the filled in rows. Thanks,

awsome
  • 2,143
  • 2
  • 23
  • 41

2 Answers2

0

That is a custom UITableView, I would look at this example for more help on customizing UITableViews and UITableViewCells.

christo16
  • 4,843
  • 5
  • 42
  • 53
0

It sounds like you'll want to set your table style to "grouped".

How can I set a UITableView to grouped style

Then you'll need to make sure you're implementing the following function in your table view controller. This will give you 3 rows in this example.

// Customize the number of rows in the table view.
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
 return 3;
}
Community
  • 1
  • 1
Banjer
  • 8,118
  • 5
  • 46
  • 61