views:

256

answers:

1

Hello guys!

How can I solve the problem I mentioned in the title? So I have an UIImageView and in it there is an UIImage. My UIImageView is in a View. When I set the origin of the imageview to (-120, -30) then I don't want to see the start of my imageview. Is this possible? Can this be done? How?

+1  A: 

Set the clipsToBounds property on the image view to YES.

Jasarien
Thanks, I'll try it tomorrow morning
Infinity
I set the clipsToBounds property on my view not on the image view, but anyway it was a good answer. Thanks again!
Infinity