• 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
UIImageView and UIViewContentModeBottomLeft
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIImageView and UIViewContentModeBottomLeft


  • Subject: UIImageView and UIViewContentModeBottomLeft
  • From: sebi <email@hidden>
  • Date: Wed, 4 Aug 2010 11:31:13 +0200

Hello again,

why is it that when I set the content mode of an UIImageView to UIViewContentModeBottomLeft I cant change it's size anymore?

this is what I do:

	self.imageView.image = theImage;
	self.imageView.contentMode = UIViewContentModeBottomLeft;
	self.imageView.frame = CGRectMake(0, 0, 10, 10);

The imageView is always the size of theImage and not 10x10 pixels.
When I set the contentMode to UIViewContentModeScaleToFill the size is set correctly.

Thanks and regards,
Sebastian Mecklenburg_______________________________________________

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

  • Follow-Ups:
    • Re: UIImageView and UIViewContentModeBottomLeft
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: iOS: UITableViewCell an textlabel?
  • Next by Date: Re: Need help understanding first responder and multiple nibs
  • Previous by thread: Re: CoreData warning: File.children -- to-many relationship does not have an inverse:
  • Next by thread: Re: UIImageView and UIViewContentModeBottomLeft
  • Index(es):
    • Date
    • Thread