开发者

Non tiled and non stretchable background image for UIView

Is there a way to create a background image for a UIView that is not stretchable and not tiled? I want the origin and size of the image to be always the same regardless of th开发者_高级运维e UIView frame size.

Thanks.


You need to change the contentMode property of your image view.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜