colorWithPatternImage 的问题

来源:互联网 发布:mac nvm 安装nodejs 编辑:程序博客网 时间:2024/06/06 04:26

colorWithPatternImage的作用是“Creates and returns a color object using the specified image.

使用时遇到过的问题:

1.在SDK4.3版本中,图片为透明图片的话,透明部分会被绘制成黑色。

2.iphone5中,图片名称必须带@2x。