• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UICollectionViewCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Problem with NSViewAnimation
  • Next by Date: Re: cocoa -draggingImageComponents not called
  • Previous by thread: Re: UICollectionViewCell
  • Next by thread: VoiceOver with custom UISlider-based switch within UITableViewCell
  • Index(es):
    • Date
    • Thread