views:

26

answers:

0

Hi, i have a table view, let say i have 15 rows in it, The table view only loads a cell when it's about to become visible, and unloads each cell as soon as it scrolls out of visibility. So if, for example, only 6 cells can be visible at any one time, there should never be more than 6 cells loaded. All the rest will either be kept on the reuse queue or released, depending on available memory. So problem is that i want to scroll to the cell which is at 10th position but as tableview only load the visible cell so for the first time this 10th cell was'nt created so

[tableView scrollToRowAtIndexPath:indexOf10Row atScrollPosition:UITableViewScrollPositionTop animated:NO];

ablve didnt work for 10 row for first time, can anyone help me out?

Regards, Mohammad Salman