UIImageView changing when app is run
I have a UIImageView that has some stuff on the edges that I don't want to show. So in IB I just pulled in the edges of the bord开发者_JS百科er and made the view mode "center" so it clips off the edges. But when I run the app, it shows them. Any specific settings or BOOL's I should be looking at for this?
Yep: the clipsToBounds
property. If that doesn't work, try its layer
's masksToBounds
property.
精彩评论