SyntaxFix
Write A Post
Hire A Developer
Questions
just change this line
[img setImage:[UIImage imageNamed:@"anyImageName"]];
with following line
img = [UIImage imageNamed:@"anyImageName"];