Blurred PNGs on UIView, using Interface Builder

Posted by Christopher Stamper on Stack Overflow See other posts from Stack Overflow or by Christopher Stamper
Published on 2010-03-31T20:00:31Z Indexed on 2010/03/31 20:03 UTC
Read the original article Hit count: 284

Hey everyone,

I've added some UIImageViews with png images to my view, using interface builder. Initially they are added off-screen.

Later, I animate them onto the screen with CoreAnimation, like so:

[UIView beginAnimations:@"slide" context:nil];
[UIView setAnimationDuration:0.1f];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationDelegate:self];
image.frame = CGRectMake(81+1, 390, 150, 80);
[UIView commitAnimations];  

Once they appear onscreen, they look really blurred or fuzzy.

I've heard of this happening before. Does anyone have any idea how to fix it?

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about iphone