Reputation:
My constraints :
width = 100 height = 100
I'm using SDWebImage, the images look nice at first and then they grow bigger.
I am not sure how to use hugging and compression auto layout for sizing priorities.
Upvotes: 0
Views: 271
Reputation: 1
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell{
let cell = taBleView.dequeueReusableCell(withIdentifier: "cell") as! TableViewCell
cell.imageview.clipsTobounds = true
Upvotes: 0