Reputation: 11317
cell.image = [UIImage imageNamed:@"faxicon.png"];
Warning is: setImage is deprecated.
Can I use another way?
Thanks
Upvotes: 0
Views: 180
Reputation: 28730
If it is deprecated then read the documentation there is already a solution.
Upvotes: 0
Reputation: 90117
the image property was deprecated in iOS3.0.
try cell.imageView.image = [UIImage imageNamed:@"faxicon.png"];
instead
Upvotes: 4