I want to add pictures to every row in UITableView.
When I use cell.image = [UIImage imgNamed:@"xxx.png"];
it jumps out a warning saying "image is deprecated".
Though it works, are there any alternatives that do not produce a warning?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, use
cell.imageView.imageas described in the documentation: