Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

cellForRowAtIndexPath not being called

WiemWiem Posts: 1New Users Noob
I have an app with a tableView that loads content dynamically through the use of prototype cells. I have the delegate and dataSource set for the tableView and I checked to make sure it is working.

numberOfRowsInSection is being called and returns a number greater than 0. My table view's frame is set to the size of the screen. All of these things are working, yet my cellForRowAtIndexPath function is never being called.
Tagged:

Replies

  • PalanichamyPalanichamy ChennaiPosts: 5New Users Noob
    Please give the sections count in the following UITableview data source method.
    - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
    {
    return 1;
    }
    Hope it helps.
Sign In or Register to comment.