For some reason I'm getting an error when I set imageURL property.
Here is my code:
imageView = [[UIImageView alloc] initWithFrame:item.imageFrame];
imageView.imageURL = [NSURL URLWithString:item.items_image];
Here is the error log:
2011-09-27 17:20:48.473 app[41431:207] -[UIImageView setImageURL:]: unrecognized selector sent to instance 0x598bb20
2011-09-27 17:20:48.477 app[41431:207] *\ Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIImageView setImageURL:]: unrecognized selector sent to instance 0x598bb20'
Did I miss something? or am I doing something wrong?
For some reason I'm getting an error when I set imageURL property.
Here is my code: imageView = [[UIImageView alloc] initWithFrame:item.imageFrame]; imageView.imageURL = [NSURL URLWithString:item.items_image];
Here is the error log: 2011-09-27 17:20:48.473 app[41431:207] -[UIImageView setImageURL:]: unrecognized selector sent to instance 0x598bb20 2011-09-27 17:20:48.477 app[41431:207] *\ Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIImageView setImageURL:]: unrecognized selector sent to instance 0x598bb20'
Did I miss something? or am I doing something wrong?