CGAffineTransformMakeRotation UIImageView

Posted by Bharathi Jayakumar on Stack Overflow See other posts from Stack Overflow or by Bharathi Jayakumar
Published on 2012-09-03T12:37:46Z Indexed on 2012/09/04 9:38 UTC
Read the original article Hit count: 297

I have an UIImageView and I wanted to rotate it slightly in the anti-clock direction. But when I do that, rotation works. But the edges are not shared. Having a pixelated edges. How do I solve this issue. Please help.

UIImageView *popupTop = [[UIImageView alloc] initWithFrame:CGRectMake(10, 54, 300, 15)];
popupTop.image = [UIImage imageNamed:@"pover_note.png"];
[self.view addSubview:popupTop];

popupTop.transform = CGAffineTransformMakeRotation(-0.04);

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about uiimageview