I have a UITableView within a nib file. It works perfectly with 4 or more cells. When I have only 2 or 3 cells and the screen is not completely filled with cells I have these empty cells (dark gray, which is actually just the background of my TableView) at the bottom.
However, they shouldn't be there, because my numberOfSectionsInTableView
and numberOfRowsInSection
returns the correct values.
Any ideas?