Reputation: 1355
I'm using a custom cell which have a background image. But the tableview is getting clipped by 1 pixel on the right. No matter what I tried, the image wont occupy the whole width.
So far I tried the below settings :
Also, this :
tableView.contentInset = UIEdgeInsetsMake(0, 0, 0, 0)
What might be the issue?
Test Image :
Upvotes: 1
Views: 62
Reputation: 1355
My UITableView was starting from (-1,0) After setting a width constraint, the tableview occupied the whole width. Thanks.
Upvotes: 1