Re: UICollectionViewCell
Re: UICollectionViewCell
- Subject: Re: UICollectionViewCell
- From: Rick Aurbach <email@hidden>
- Date: Fri, 12 Apr 2013 00:20:19 -0400
- Acceptlanguage: en-US
- Thread-topic: UICollectionViewCell
On Apr 11, 2013, at 10:38 PM, email@hidden wrote:
> sampleImage is defined as
>
> @property (nonatomic, strong) UIImage *sampleImage;
>
> and initialized by
>
> self.sampleImage = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"earth" ofType:@"png"]];
>
>
> My problem : The image is not displayed in the Cell … what am I missing?
At the risk of sounding stupid (and because of some strange problems I've seen with images in my own work), I wonder if you've tried
self.sampleImage = [UIImage imageNamed:@"earth.png"];
Cheers,
Rick Aurbach
Aurbach & Associates, Inc.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden