-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please disregard #1
Comments
Found a threaded solution here: |
Hi Zoe, Using it is very simple, basically if you have an image on the web, you get a reference to it as follows: NSURL *imageURL = [NSURL URLWithString:@"http://example.com/images/foo.jpg"]; If you are trying to load a file from your application bundle, get a reference to it as follows: NSString *imagePath = [[NSBundle mainBundle] pathForResource:@"foo" ofType:@"jpg"]; Once you've got your URL, to display it on the screen, just get any ordinary UIImageView and load the image by saying: imageView.imageURL = imageURL; As soon as you set this property, the image will start loading in the background and will appear in the image view once it's loaded. If you're using it with iCarousel, you probably want to set the imageURL in the carousel:viewForItemAtIndex: method when you create the imageView. Nick On 18 Aug 2011, at 14:27, ZoeSummers wrote:
|
Not sure what you mean by "found a threaded solution" - AsyncImageView also uses threading. |
No description provided.
The text was updated successfully, but these errors were encountered: