UITableViewCell textLabel, does not update until a scroll, or touch happens, while using GCD
- 阅读更多 关于 UITableViewCell textLabel, does not update until a scroll, or touch happens, while using GCD
Can someone help me figure this out please? My UITableViewCell textLabel , does not update until I scroll , or touch it. The ViewController loads, it shows the right amount of cells . But the content is blank. I have to touch it or scroll to make my textLabel appear. Am I doing something wrong here? - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { cell = [[UITableViewCell alloc] initWithStyle