UIColor colorWithPatternImage代码片段

来源:互联网 发布:jquery遍历对象数据 编辑:程序博客网 时间:2024/04/28 03:21

 

self.view = [[[UIView alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];

self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"Checkers.png"]];

 

 

原创粉丝点击