0

我有一个从网络加载的 UIImage,我希望它在我的 UITableCell 中显示时淡入。

if([thumb image])
{
    UIImage *imagen = [thumb.image retain];
    [imagen drawInRect:CGRectMake(15, 4, 44, 44)];
    [imagen release];
}

我怎样才能实现它?

4

1 回答 1

0

将 alpha 值从 0.0 设置为 1.0。

这个SO question/answer提供了代码来告诉你如何。

于 2010-06-03T15:22:58.610 回答