开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜