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,
A:
That is a custom UITableView, I would look at this example for more help on customizing UITableViews and UITableViewCells.
christo16
2010-03-23 16:13:39
Thanks, that is exactly what i wanted. I can make the datatable look as i would like.
tak
2010-03-23 18:22:23
A:
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;
}
Banjer
2010-03-23 16:19:18
Thanks for reply.It was the datatable with the image view which resolved my problem.
tak
2010-03-23 18:24:02