Problems with UImageView Opaque on iPhone

Doing as much alpha blending as possible is an important performance consideration for table cells on the iPhone. I have tables that basically consist of one large image. I set the UIImageView opaque both in Interface Builder and programmatically, but the CoreAnimation tool still shows that it is alpha mixed.

Is there a way to make UIImageViews virtually opaque, or will I have to make my own drawing so as not to mix?

+6
performance iphone uitableview quartz-graphics uiimageview
source share
2 answers

Your image probably contains an alpha channel. Although the image is opaque, iOS still views it as translucent. Try removing this alpha channel using Photoshop by going to: Layer> Background From Layer

+5
source share

[yourImageView setOpaque:YES];

0
source share

All Articles