PDA

View Full Version : UITableView and single row display




arnieterm
Apr 24, 2009, 07:31 AM
Hi all,
I have an iphone application that has a UITableView on one of its view with other controls. The design of the view [using XIB] is such that the table view will be displayed with only one row visible at a time. I mean to say that the table view has height equal to the height of the custom table view cell.
Also I have set the height of header and footer both as zero.
My problem is that when the table view is populated with rows via custom cell, the first row appears slightly down and we need a slight scroll to make it completely visible.
How can i make the row completely visible so that the user does not require a slight scroll to view the first row completely

Thanks
Arnie