Reputation: 8320
I am using auto layout and working with custom UITableViewCell
. Inside this cell, I want tp display an image. Issue is that image is not displayed with clarity.
Actual image is this :
But in app, it is displayed as below :
What can be the reason? How to solve it?
![enter image description here][3]
Upvotes: 0
Views: 134
Reputation: 3000
To maintain corner radius for changes in image dimensions, use the resizableImageWithCapInsets
method on UIImage
.
Good tutorials:
Upvotes: 1