且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

AFNetworking - 滚动 UITableView 时在图像上淡化动画

更新时间:2023-12-05 15:36:16

试试这个 cell.hotelImage 而不是 self.view这将工作:)

instead of self.view try this cell.hotelImage this will work :)

 [UIView transitionWithView:cell.hotelImage
   duration:1.0f
   options:UIViewAnimationOptionTransitionCrossDissolve
   animations:^{[cell.hotelImage setImage:image];} 
 completion:NULL];