UIImageView and UIViewContentModeBottomLeft
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