-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I'm trying to do the same you did in the example code, but something strange happens. My tableView has 5 cells. When I launch the application and debug your code, I can see self.backgroundView is nil. So their bounds are not set and the layer is nil.
But when launching finishes and I scroll down, on next cells loaded backgroundView is load correctly. I'm doing this:
UITableViewCell *cell = [self.tableView dequeueReusableCellWithIdentifier:CellIdentifier];
[cell addShadowToCellInTableView:tableView atIndexPath:indexPath];
Do you know what is probably happening? Autolayout is disabled.
Metadata
Metadata
Assignees
Labels
No labels