tags:

views:

35

answers:

0

Hi,

I added UITableView in UIViewController classes... I updated tableview using [tableview reloadData].. It works fine ,but some times the uitableviewcell is not visible.. And also UITableView not scrolling fast. I didn't create any separtor classes for uitableviewcell..

I am using this code

UITableViewCell *cell = [self.tableView dequeueReusableCellWithIdentifier:@"MyIdentifier"];

if(cell==nil)

{

cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:@"MyIdentifier"] autorelease];

}

I am also added two uilabels in uitableviewcell using [cell.contentview addsubview:label];

Can anyone help me?

Whats i am doing wrong here...

I developed this project in iphone version 2.0

If you have sample code of create tableview in uiviewcontroller means please post here.I searched lot of tableview sample they are created with different methods.

Thanks in advance.