我不知道你想要什么在前台,但任何基于UIView类的东西都有一个backgroundColor属性,你可以设置为这样的图像:
yourView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"YourImage.png"]];
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3997 次 |
| 最近记录: |