I have set up individual cells for a single cell in a UITableViewController to display a view that was longer than the screen. However, when testing, I notice that the cell will disappear (disappear) when scrolling down before it leaves the field of view. This does not represent anything, but I do not understand why it would disappear when scrolling down, especially when it did not leave the visible area anywhere.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { VendorDetailCell *cell = [tableView dequeueReusableCellWithIdentifier:@"VendorDetailCell"]; cell.vendorImage.image = [UIImage imageWithData: self.imageData.data]; cell.vendorTitle.text = self.imageData.vendorTitle; cell.vendorDescription.text = self.imageData.vendorDescription; return cell; }
source share