Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

akaash1087

macrumors newbie
Original poster
Jul 7, 2010
23
0
Hi
I am developing a splitview based app for Ipad.It creates a master view and a detail view.My master view is a tableview.Actually I want a certain number of rows in my tableview. When I select that by overriding the appropriate function in DataSource (which is derived from UITableViewSource) I do get those rows in my view.But what I find is that below those rows also there are some rows which are not clickable . The rows that I selected are clickable with currently selected row being shown blue.I dont want these rows that appear below my selected rows.
When I try to decrease the height of the tableview in Interface builder ,it doesnt reflect when I run the app,in other words the tabelview height remains the same. Same happens with width..

Any ideas how I could make those rows dissappear ??Many thanks in advance.. Thx Akaash
 
That's the way all tableviews work. You can easily see this in tens of thousands of apps. You can make the table view smaller, probably.

If your view controller is a subclass of UITableViewController it makes the table view fill the screen. You can only make it smaller by using a subclass of UIViewController and putting your tableview inside another view.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.