1

I recently noticed some ugly aliasing in the sidebar site list:

enter image description here

I actually solved this problem before in my SE app (no linky here, that would be bad. It's in my profile). It turns out you can't just put a big UIImage into a small UIImageView. You have to resize the image itself.

What I did was use UIImage+ProportionalFill from the MGImageUtilities. I replaced:

UIImage *img = [UIImage imageWithData:imgData];

with

UIImage *img = [[UIImage imageWithData:imgData] imageScaledToFitSize:CGSizeMake(30, 30)/*<-- Put your size here*/];

And that makes it look a whole lot better.

  • 1
    -1 for making me go to your profile to find the link to your SE app. – yannis Feb 13 '14 at 22:02
2

I have an update I believe will address this problem; however, I'm going to do a little profiling on it before putting it in a build. You might see it sometime tonight, if there's a build. If not, then probably tomorrow.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .