mercredi 1 avril 2015

UIImageView.image bigger than UIImageView

I have a UIImageView in a custom tableview cell. When I set the UIimageview property, the uiimageview.image is bigger than the uiimageview. Why? Here is the code:



cell.imageView.image=[UIImage imageNamed:@"BlueMooseLogo.png"];


And here is a link to what the cell looks like. The blue square is the background of the imageview, and the blue moose is the image. http://ift.tt/1MCk5Ho


If it's relevant, within interface builder, after I select the uiimageview, I have the view set to scale to fill.


Aucun commentaire:

Enregistrer un commentaire